hmmm , I can not understand what we should fix to solve this problem, for me its seems that this is due to class loading issue. Since we have separate class loader for each services and modules , accessing service resources from module class loader may have problems. So how do we solve this preserving the concept of module isolation?
Ruchith Fernando wrote: >Hi All, > >There's problem in accessing the passwordCallbackClass class provided >by a service (packaged within the service archive) within the security >module. > >Therefore right now we have to have the following jars in the >"WEB-INF/lib" directory to enable the security module to work >properly. > >commons-discovery-0.2.jar >wss4j-SNAPSHOT.jar >xmlsec-1.3.0.jar >bcprov-jdk13-131.jar > >Thanks, >Ruchith > >On 3/21/06, Ruchith Fernando <[EMAIL PROTECTED]> wrote: > > >>Hi, >> >>We have to fix these problems to get the security module working with >>Axis2 on Java 1.5 and we will fix this for the 0.95 release. >> >>With JDK 1.5 we need to have xalan additionally for the security >>module to function properly. >> >>Also we have to revisit how we package the dependency jars in the >>security module and axis2 to avoid classloader problems. >> >>Thanks trying and reporting these issues. >> >>- Ruchith >> >>On 3/21/06, Siamak Haschemi <[EMAIL PROTECTED]> wrote: >> >> >>>Hello Ruchith. >>> >>>Yes, you're right. I'm using the java version "1.5.0_06". >>> >>>Is the usage of Java 1.5 not recommened? >>> >>> >>>Thanks a lot, >>>Siamak Haschemi >>> >>>Ruchith Fernando schrieb: >>> >>> >>>>Hi, >>>> >>>>are you using JDK 1.5 ? >>>> >>>>I'm trying this with JDK 1.4 and didn't get the problem since the >>>>xalan stuff seems to be available in the Sun JDK 1.4 >>>> >>>>Thanks, >>>>Ruchith >>>> >>>>On 3/21/06, Siamak Haschemi <[EMAIL PROTECTED]> wrote: >>>> >>>> >>>> >>>>>I solved the problem. >>>>> >>>>>For all of you who use the current svn-sources: >>>>> >>>>>Download the 2.6.0 of XALAN-J (http://archive.apache.org/dist/xml/xalan-j) >>>>> >>>>>Place the "xalan.jar" to the "WEB-INF/lib" directory. >>>>> >>>>>That solved the problem for me. >>>>> >>>>>Thanks >>>>> >>>>>Siamak Haschemi >>>>> >>>>>Siamak Haschemi schrieb: >>>>> >>>>> >>>>> >>>>>>Thank you for your help. >>>>>> >>>>>>After removing the "wss4j-SNAPSHOT.jar" a new error message occurs: >>>>>> >>>>>>java.lang.NoClassDefFoundError: org/apache/xpath/compiler/FuncLoader >>>>>> >>>>>>... >>>>>> >>>>>> >>>>>>So, what file do I need to delete now? :-) >>>>>> >>>>>> >>>>>>What is the background about this. I'm using the current svn-sources. >>>>>>Does it denpend on the current refactorings? >>>>>> >>>>>>Thanks, >>>>>> >>>>>>Siamak Haschemi >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>Ruchith Fernando schrieb: >>>>>> >>>>>> >>>>>> >>>>>>>Do you have the wss4j-SNAPSHOT.jar in the 'WEB-INF/lib' directory. If >>>>>>>so please remove it. >>>>>>> >>>>>>>Thanks, >>>>>>>Ruchith >>>>>>> >>>>>>>On 3/21/06, Siamak Haschemi <[EMAIL PROTECTED]> wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>>Hello to all. >>>>>>>> >>>>>>>>I want to use the security module shipped with axis2. >>>>>>>> >>>>>>>>I use the current svn sources to build the war file. >>>>>>>>I place the "security-0.95-SNAPSHOT.mar" to the >>>>>>>>"${CATALINA_HOME}\webapps\axis2\WEB-INF\modules" folder >>>>>>>>I add the line "<module ref="security"/>" to the axis2.xml >>>>>>>> >>>>>>>>While starting Tomcat the following error occures: >>>>>>>> >>>>>>>>java.lang.NoClassDefFoundError: org/apache/xml/security/Init >>>>>>>> >>>>>>>>.... >>>>>>>> >>>>>>>> >>>>>>>>Please help me to fix this. >>>>>>>> >>>>>>>>regards >>>>>>>> >>>>>>>>Siamak Haschemi >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>> >>>> >>> >>> > > > > -- Thanks, Deepal ................................................................ ~Future is Open~
