-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi,
Here's a quick start for the Axis2 OSGi bundle thingy i checked in. Step #1: download Eclipse SDK (say eclipse-equinox-SDK-3.3.1.1.zip) from http://download.eclipse.org/eclipse/equinox/drops/R-3.3.1.1-200710231652/index.php Step #2: Unzip the zip the contents into say C:\equinox Step #3: Run "mvn clean install" in modules/osgi Step #4: Follow the script here to get the OSGi modules deployed and running =============================================================== C:\equinox>java -jar plugins\org.eclipse.osgi_3.3.1.R33x_v20070828.jar -console osgi> ss Framework is launched. id State Bundle 0 ACTIVE org.eclipse.osgi_3.3.1.R33x_v20070828 osgi> install file:c:\equinox\plugins\org.eclipse.equinox.http.jetty_1.0.1.R33x_v20070816.jar Bundle id is 1 osgi> install file:c:\equinox\plugins\javax.servlet_2.4.0.v200706111738.jar Bundle id is 2 osgi> install file:c:\equinox\plugins\javax.servlet.jsp_2.0.0.v200706191603.jar Bundle id is 3 osgi> install file:c:\equinox\plugins\org.eclipse.equinox.http.servlet_1.0.1.R33x_v20070816.jar Bundle id is 4 osgi> install file:c:\equinox\plugins\org.eclipse.equinox.servletbridge_1.0.1.R33x_v20070816.jar Bundle id is 5 osgi> install file:c:\equinox\plugins\org.eclipse.equinox.http.servletbridge_1.0.0.v20070523.jar Bundle id is 6 osgi> install file:c:\equinox\plugins\org.eclipse.osgi.services_3.1.200.v20070605.jar Bundle id is 7 osgi> install file:c:\equinox\plugins\org.mortbay.jetty_5.1.11.v200706111724.jar Bundle id is 8 osgi> install file:c:\equinox\plugins\org.apache.commons.logging_1.0.4.v200706111724.jar Bundle id is 9 osgi> start 1 2 3 4 5 6 7 8 9 Feb 15, 2008 10:51:33 AM org.mortbay.http.HttpServer doStart INFO: Version Jetty/5.1.x Feb 15, 2008 10:51:33 AM org.mortbay.util.Container start INFO: Started [EMAIL PROTECTED] Feb 15, 2008 10:51:33 AM org.mortbay.util.Container start INFO: Started HttpContext[/,/] Feb 15, 2008 10:51:33 AM org.mortbay.http.SocketListener start INFO: Started SocketListener on 0.0.0.0:80 Feb 15, 2008 10:51:33 AM org.mortbay.util.Container start INFO: Started [EMAIL PROTECTED] osgi> ss Framework is launched. id State Bundle 0 ACTIVE org.eclipse.osgi_3.3.1.R33x_v20070828 1 ACTIVE org.eclipse.equinox.http.jetty_1.0.1.R33x_v20070816 2 ACTIVE javax.servlet_2.4.0.v200706111738 3 ACTIVE javax.servlet.jsp_2.0.0.v200706191603 4 ACTIVE org.eclipse.equinox.http.servlet_1.0.1.R33x_v20070816 5 ACTIVE org.eclipse.equinox.servletbridge_1.0.1.R33x_v20070816 6 ACTIVE org.eclipse.equinox.http.servletbridge_1.0.0.v20070523 7 ACTIVE org.eclipse.osgi.services_3.1.200.v20070605 8 ACTIVE org.mortbay.jetty_5.1.11.v200706111724 9 ACTIVE org.apache.commons.logging_1.0.4.v200706111724 osgi> install file:c:\Apache\axis2\modules\osgi\target\axis2-osgi-SNAPSHOT.jar Bundle id is 10 osgi> start 10 osgi> ss Framework is launched. id State Bundle 0 ACTIVE org.eclipse.osgi_3.3.1.R33x_v20070828 1 ACTIVE org.eclipse.equinox.http.jetty_1.0.1.R33x_v20070816 2 ACTIVE javax.servlet_2.4.0.v200706111738 3 ACTIVE javax.servlet.jsp_2.0.0.v200706191603 4 ACTIVE org.eclipse.equinox.http.servlet_1.0.1.R33x_v20070816 5 ACTIVE org.eclipse.equinox.servletbridge_1.0.1.R33x_v20070816 6 ACTIVE org.eclipse.equinox.http.servletbridge_1.0.0.v20070523 7 ACTIVE org.eclipse.osgi.services_3.1.200.v20070605 8 ACTIVE org.mortbay.jetty_5.1.11.v200706111724 9 ACTIVE org.apache.commons.logging_1.0.4.v200706111724 10 ACTIVE org.apache.axis2.osgi_1.4.0 osgi> =============================================================== Step #5: Point your browser to http://localhost:80/axis2/services/Version?wsdl (NOTE the port - it's 80 NOT 8080) Step #6: Use xmlspy or soapui to try out the service. thanks, dims Davanum Srinivas wrote: | Hi Team, | | I am looking at getting AxisServlet working inside Equinox and Felix | OSGi containers. Will write up a HOWTO as soon as i | get something working properly. To start with i am constructing one huge | OSGi bundle with all the dependency jars. | Eventually we should break it down so that individual pieces can be used. | | Here's an excellent resource to give you an idea on what's possible with | OSGi: | http://neilbartlett.name/blog/osgi-articles/ | | thanks, | dims -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) iD8DBQFHtbb4gNg6eWEDv1kRAnPOAJ9dGDswOFLWFSgLJut4oMlXR5vs2gCeJjWp wTvGSc6Re/+OK8kPCZ7C/Ug= =H8xs -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
