Hi John, are you aware of this tutorial ?

http://svn.apache.org/repos/asf/webservices/axis2/branches/java/1_1/xdocs/1_1/spring.html

Can you try the RC2 release, with the intent of a 1.1 in the next few days ?

http://people.apache.org/~thilina/axis2/1.1-RC2/

HTH,
Robert

On 11/2/06, John Pfeifer <[EMAIL PROTECTED]> wrote:



Below I have a snippet from my spring context file that I use in one of my
.aar files.

 The application works fine when I don't use the ProxyFactoryBean, but when
I include it, I get a NoClassDefFoundException for the
foo.dao.PayCaptureContextDAO

 I did some digging into the spring code and it looks like spring uses the
Context class loader to load these classes (and not the AAR deployment
classloader, which is where my jar file resides).  Has anyone else
encountered this problem?  If so, what was your solution?

 I really need to make this work because my web service uses hibernate for
persistence and that code uses proxy's for declarative transactions.


     <bean id="methodInvocationTimer" class="foo.MethodInvocationTimer"/>

     <bean id="payCaptureContextDAOTarget"
class="foo.PayCaptureContextDAOImpl">
         <property name="sessionFactory">
             <ref local="bmlXASessionFactory"/>
         </property>
     </bean>

     <bean id="payCaptureContextDAO"
class="org.springframework.aop.framework.ProxyFactoryBean">
         <property name="proxyInterfaces">
             <value>foo.dao.PayCaptureContextDAO</value>
         </property>
         <property name="interceptorNames">
             <list>
                 <value>methodInvocationTimer</value>
             </list>
         </property>
         <property name="target">
             <ref bean="payCaptureContextDAOTarget"/>
         </property>
     </bean>

 Thanks,

 jp4

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to