« Return to Thread: Remote Service through Hessian

RE: Remote Service through Hessian

by Erik Pragt :: Rate this Message:

Reply to Author | View in Thread

Hi Graeme,

The Hessian jars are already in the plugin, so they are in the classpath.
The problem is that the version is to old: it needs to be upgraded to 3.1.3
instead of 3.1.1.

Erik

> -----Original Message-----
> From: graeme.rocher@...
> [mailto:graeme.rocher@...] On Behalf Of Graeme Rocher
> Sent: zaterdag 26 april 2008 21:17
> To: dev@...
> Subject: Re: [grails-dev] Remote Service through Hessian
>
> My guess is you need the hessian jars in your lib
>
> Cheers
>
> On Sat, Apr 26, 2008 at 8:09 PM, Erik Pragt <erik@...> wrote:
> >
> >
> > Hi all,
> >
> > I'm trying to expose a service through Burlap, which works
> fine. Now,
> > I want to change it to Hessian, so I say: static expose =
> ['hessian'],
> > instead of Burlap.
> >
> > This doesn't work. When starting up the application (with Java 5 on
> > Windows XP), I'm getting this stacktrace:
> >
> > 2008-04-26 21:03:13.423::WARN:  Nested in
> > org.springframework.beans.factory.BeanCreationException: Error
> > creating bean with name 'hessian.ProjectService':
> Invocation of init
> > method failed; nested exception is java.lang.NoClassDefFoundError:
> > com/caucho/hessian/io/HessianDebugOutputStream:
> > java.lang.NoClassDefFoundError:
> > com/caucho/hessian/io/HessianDebugOutputStream
> >  at java.security.AccessController.doPrivileged(Native Method)  at
> > RunApp_groovy$_run_closure2_closure7.doCall(RunApp_groovy:68)
> >  at RunApp_groovy$_run_closure2_closure7.doCall(RunApp_groovy)
> >  at Init_groovy$_run_closure6.doCall(Init_groovy:128)
> >  at RunApp_groovy$_run_closure2.doCall(RunApp_groovy:67)
> >  at RunApp_groovy$_run_closure2.doCall(RunApp_groovy)
> >  at RunApp_groovy$_run_closure1.doCall(RunApp_groovy:59)
> >  at RunApp_groovy$_run_closure1.doCall(RunApp_groovy)
> >  at gant.Gant.dispatch(Gant.groovy:271)
> >  at gant.Gant.this$2$dispatch(Gant.groovy)
> >  at gant.Gant.invokeMethod(Gant.groovy)
> >  at gant.Gant.processTargets(Gant.groovy:436)
> >  at gant.Gant.processArgs(Gant.groovy:372)
> >  at
> >
> org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:
> > 101)  at
> > org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:130)
> >  at
> > com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
> > 2008-04-26 21:03:13.454::INFO:  Started
> > SelectChannelConnector@...:8080
> >
> > Spring supported debug support for Hessian, but this breaks the
> > Remoting plugin, since HessianDebugOutputStream is not available in
> > Hessian 3.1.1 (the currently used version). It is available
> in Hessian
> > 3.1.3, so I guess upgrading the plugin to the newer version
> should fix this problem!
> >
> > Erik
>
>
>
> --
> Graeme Rocher
> Grails Project Lead
> G2One, Inc. Chief Technology Officer
> http://www.g2one.com
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: Remote Service through Hessian

LightInTheBox - Buy quality products at wholesale price