rmi is new, comming in after the 1.3 release. Try looking for
axis2-rmi-*.jar and adding it to WEB-INF/lib .

HTH,
Robert

On Nov 12, 2007 8:25 AM, BJuma <[EMAIL PROTECTED]> wrote:
>
> I downloaded the latest nightly build along with what I posted below and it
> works fine. However I am having an exception when the server is starting up
> which is:
>   [exec] 17:25:51,287 ERROR
> org.apache.axis2.deployment.AxisConfigBuilder:319 -
> org.apache.axis2.rmi.deploy.RMIServiceDeployer
>      [exec] java.lang.ClassNotFoundException:
> org.apache.axis2.rmi.deploy.RMIServiceDeployer
>      [exec] at
> com.evermind.naming.ContextClassLoader.findClass(ContextClassLoader.java:318)
>      [exec] at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
>      [exec] at
> com.evermind.naming.ContextClassLoader.loadClass(ContextClassLoader.java:143)
>      [exec] at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
>      [exec] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
>      [exec] at java.lang.Class.forName0(Native Method)
>      [exec] at java.lang.Class.forName(Class.java:141)
>      [exec] at org.apache.axis2.util.Loader.loadClass(Loader.java:261)
>      [exec] at
> org.apache.axis2.deployment.AxisConfigBuilder.processDeployers(AxisConfigBuilder.java:316)
>      [exec] at
> org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:233)
>      [exec] at
> org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:628)
>      [exec] at
> org.apache.axis2.deployment.WarBasedAxisConfigurator.<init>(WarBasedAxisConfigurator.java:146)
>      [exec] at
> org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:501)
>      [exec] at
> org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:421)
>      [exec] at
> com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2354)
>      [exec] at
> com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4795)
>      [exec] at
> com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4889)
>      [exec] at
> com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1015)
>      [exec] at
> com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:549)
>      [exec] at
> com.evermind.server.Application.getHttpApplication(Application.java:890)
>      [exec] at
> com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:707)
>      [exec] at
> com.evermind.server.http.HttpSite.initApplications(HttpSite.java:625)
>      [exec] at
> com.evermind.server.http.HttpSite.setConfig(HttpSite.java:278)
>      [exec] at
> com.evermind.server.http.HttpServer.setSites(HttpServer.java:278)
>      [exec] at
> com.evermind.server.http.HttpServer.setConfig(HttpServer.java:179)
>      [exec] at
> com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2394)
>      [exec] at
> com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1551)
>      [exec] at
> com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:92)
>
> Any idea?
>
>
>
>
> iksrazal wrote:
> >
> > Hmm, the Service needs to be a concrete class, ie, have an
> > implementation and not be just an interface. Any bean dependencies,
> > such as for beans that have methods you invoke, have been known to
> > work in some cases as interfaces by avoiding them be spring proxies.
> > This particular problem is that there is no proxy class that  This
> > issue has come up several times before and have had solutions, please
> > search the forums.
> >
> > HTH,
> > Robert
> >
> > On Nov 12, 2007 5:47 AM, BJuma <[EMAIL PROTECTED]> wrote:
> >>
> >> Hi,
> >> I am facing this problem now. My understanding to fix it is by having an
> >> interface for the current webservice and defining it in the services.xml
> >> as
> >> a ServiceClass, like this:
> >>
> >>  <service name="SpringAwareService">
> >>     <description>
> >>         simple spring example
> >>     </description>
> >>         <parameter
> >> name="ServiceClass">spring.SpringAwareServiceInterface</parameter>
> >>     <parameter
> >> name="ServiceObjectSupplier">org.apache.axis2.extensions.spring.receivers.SpringServletContextObjectSupplier</parameter>
> >>     <parameter name="SpringBeanName">springAwareService</parameter>
> >>     <operation name="getValue">
> >>         <messageReceiver
> >> class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
> >>     </operation>
> >>
> >> </service>
> >>
> >> Is this sufficient? I tried it but not worked. Did I miss any thing or
> >> should I try certain fix build.
> >>
> >> Thanks,
> >>
> >>
> >>
> >> JIRA [EMAIL PROTECTED] wrote:
> >> >
> >> > Extend Spring support to accept proxies
> >> > ---------------------------------------
> >> >
> >> >                  Key: AXIS2-3258
> >> >                  URL: https://issues.apache.org/jira/browse/AXIS2-3258
> >> >              Project: Axis 2.0 (Axis2)
> >> >           Issue Type: New Feature
> >> >           Components: deployment, wsdl
> >> >     Affects Versions: 1.3
> >> >             Reporter: Oleg Efimov
> >> >             Priority: Blocker
> >> >
> >> >
> >> > ServiceBuilder presently requires service class's byte code to obtain
> >> > method parameter names. This won't work with proxies, thus making
> >> Spring
> >> > support really feeble.
> >> >
> >> > I propose introducing additional service.xml parameter, namely
> >> > ServiceInterface, to enumerate service methods and parameter names.
> >> >
> >> > --
> >> > This message is automatically generated by JIRA.
> >> > -
> >> > You can reply to this email to add a comment to the issue online.
> >> >
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> > For additional commands, e-mail: [EMAIL PROTECTED]
> >> >
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/-jira--Created%3A-%28AXIS2-3258%29-Extend-Spring-support-to-accept-proxies-tf4592976.html#a13703440
> >> Sent from the Axis - Dev mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> --
> View this message in context: 
> http://www.nabble.com/-jira--Created%3A-%28AXIS2-3258%29-Extend-Spring-support-to-accept-proxies-tf4592976.html#a13705498
> Sent from the Axis - Dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to