Hi Alex, Thanks for the information but installing " org.apache.axis2.osgi" via Felix console didn't not make any difference. There also some internal dependencies are there which are hard to resolve.
I was just searching over the net and found one link, https://svn.apache.org/repos/asf/webservices/axis2/scratch/java/saminda/osgi _test It's a simple example where osgification of AXIS2 has been done successfully. There also it's clearly stated there are around twenty two jar are there as a part of an external dependencies with axis2 osgi bundle. I did follow the same steps for sling but failed at the final steps by showing the following error message. 16.11.2009 18:31:46.991 *ERROR* [Configuration Updater] org.apache.felix.configadmin Service [org.apache.felix.cm.ConfigurationAdmin,17] [org.osgi.service.cm.ManagedService]: Unexpected problem updating configuration (javax.xml.stream.FactoryConfigurationError: Requested factory com.ctc.wstx.stax.WstxInputFactory cannot be located. Classloader =sun.misc.launcher$appclassloa...@e39a3e) javax.xml.stream.FactoryConfigurationError: Requested factory com.ctc.wstx.stax.WstxInputFactory cannot be located. Classloader =sun.misc.launcher$appclassloa...@e39a3e at javax.xml.stream.FactoryLocator.loadFactory(FactoryLocator.java:120) at javax.xml.stream.FactoryLocator.locate(FactoryLocator.java:109) at javax.xml.stream.FactoryLocator.locate(FactoryLocator.java:54) If I am not wrong then this error is coming due to OSGI class loading mechanism. If you can put some light on this will be helpful :-) Regards, Sujoy -----Original Message----- From: Alexander Klimetschek [mailto:aklim...@day.com] Sent: Friday, November 13, 2009 8:51 PM To: dev@sling.apache.org Cc: Sujoy Subject: Re: How to Integrate Axis2 with Sling 5 On Fri, Nov 13, 2009 at 15:38, Sujoy <sbhattachar...@eforceglobal.com> wrote: > Hi Alex, > > Thanks for the information. Using <Embed-Dependency> I have overcome the > AXIS2-ADB ClassNotFound Exception. But really couldn't able to integrate > AXIS2 with sling5.After putting this tag lots of other dependencies has > come-up which is actually preventing me to activate my bundle. Some of this > are as follows. > > !! com.sun.javadoc,version=0.0.0 from -- Cannot be resolved > !! com.sun.mirror.declaration,version=0.0.0 from -- Cannot be resolved > !! com.sun.org.apache.xerces.internal.parsers,version=0.0.0 from -- Cannot > be resolved > !! com.sun.org.apache.xerces.internal.util,version=0.0.0 from -- Cannot be > resolved > !! com.sun.org.apache.xerces.internal.xni.parser,version=0.0.0 from -- > Cannot be resolved > !! com.sun.tools.javac,version=0.0.0 from -- Cannot be resolved > !! com.sun.tools.javadoc,version=0.0.0 from -- Cannot be resolved Configuring EmbedDependency can be quite tricky, as you need to explicitly ignore/export packages and take the dependencies into account. Since org.apache.axis2.osgi seems to be an OSGI bundle with everything in it (IIUC), I suggest you first try to install that as a bundle. You can use the Felix web management console (/system/console/bundles). Regards, Alex -- Alexander Klimetschek alexander.klimetsc...@day.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 4610 (20091115) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __________ Information from ESET NOD32 Antivirus, version of virus signature database 4611 (20091116) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com