[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calling the ozone client through Servlets?



On Wed, 21 Feb 2001, Andronikos Nedos wrote:
> Falko Braeutigam wrote:
> 
> > On Wed, 21 Feb 2001, Andronikos Nedos wrote:
> > > Hi all,
> > > I am thinking of using ozone for a small-scale search engine in my
> > > college. It's going to
> > > store the inverted index of the Db. (I am not even sure if this a good
> > > apprach).
> > > Does anybody know or tried to invoke an ozone client from inside a
> > > servlet.
> > > I wouldn't have thought that this is a problem but then again I don't
> > > know
> > > how apache invokes the servlet class and what are the requirements for a
> > > standard ozone client.
> >
> 
> Thanks for the reply Falko,
> 
> Consider "calling an ozone client from a servlet" bad syntax. I was thinking about
> potential problems and more specifically :
> 1) What about the extra parameters that the client invocation requires? (ojvm
> <client>)
>      Do you need to initialise some of the environment variables before every
> invocation of the servlet/client ?

Basically ojvm just builds a proper CLASSPATH. Simply execute ozoneEnv in the
start script of your servlet engine. This adds all ozone related jars to the
CLASSPATH.


Falko
-- 
______________________________________________________________________
Falko Braeutigam                              mailto:falko@smb-tec.com
SMB GmbH                                        http://www.smb-tec.com