Skip to main content



      Home
Home » Eclipse Projects » Virgo » Adding bundle to dm server to extend tomcat
Adding bundle to dm server to extend tomcat [message #633525] Mon, 18 October 2010 06:30 Go to next message
Eclipse UserFriend
Hello,

We have a custom tomcat realm which we need to install to tomcat.

This realm extends the standard JNDI relam, utilitising a custom SSL Socket factory so that we can choose which keystore to use, as the standard JNDI realm cannot control which keys in a keystore are picked when connecting to LDAP over SSL.

What is the correct approach to take to extend tomcat under Virgo/DM Server?

We are thinking:
1) package classes in an OSGi bundle
2) add bundle to repository/ext
3) add bundle to com.springsource.server.web-2.0.2.RELEASE.plan (or equivalent under virgo)

Is this a reasonable approach?

Regards,
Dan.
Re: Adding bundle to dm server to extend tomcat [message #633530 is a reply to message #633525] Mon, 18 October 2010 06:42 Go to previous messageGo to next message
Eclipse UserFriend
That approach sounds reasonable in general.

Please note that Virgo has solved a problem which was present in dm Server 2.0.x which prevented clustering from working, so you would be well-advised to move to Virgo.

The fix was to make the ha and tribes bundles fragments of the main catalina bundle.

It may also be necessary to make your bundle a fragment of the main catalina bundle, in which case it would not be necessary to include the bundle in the plan as it would be installed automatically from the repository when the main catalina bundle is installed.
Re: Adding bundle to dm server to extend tomcat [message #633539 is a reply to message #633525] Mon, 18 October 2010 07:09 Go to previous messageGo to next message
Eclipse UserFriend
Thanks Glyn,

Will give the fragment bundle approach a try. Not having to edit the plan will simplify our sripts to generate a clean build of the server.
Re: Adding bundle to dm server to extend tomcat [message #636064 is a reply to message #633525] Fri, 29 October 2010 04:45 Go to previous messageGo to next message
Eclipse UserFriend
I shall note for posterity that the bundle fragment approached worked.
Re: Adding bundle to dm server to extend tomcat [message #636524 is a reply to message #636064] Mon, 01 November 2010 13:03 Go to previous message
Eclipse UserFriend
Much appreciated.
Previous Topic:"external" directive in Bundle-ClassPath for config resources
Next Topic:Sudden failure of dependency resolution
Goto Forum:
  


Current Time: Sat Jul 05 01:25:12 EDT 2025

Powered by FUDForum. Page generated in 0.03688 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top