Hi,

--- Hammad Sophie <[EMAIL PROTECTED]> wrote:
> Yes its a java class part of another webapp on the same tomcat
> installation
> as jetspeed.
> 
> This may be a stupid question, but I'm kind of confused:
> If jetspeed is running on my machine do i need to initialize a new
> 'instance' of turbine or will the existing instance be sufficient
> for my
> webapp? 

If they are completely separate webapps, then they won't have access
to each others instances (well - not without some classloading
hurdles) - in which case you will have to initialise Turbine in the
other webapp.

> How can I access the instance of turbine which is running
> jetspeed
> from my app?

If you could combine the webapps, then you would not need to init
Turbine.  For example if one /myapp and the other is /jetspeed, all
in the same web archive.

> 
> BTW, I figured out another dirty way to do what I wanted: Create a
> URLConnection to the portlet which creates a user and supply it
> with all the
> parameters needed....
> 

That is also an option - fine when things work, but if you get an
error - then you will little details of the error (eg duplicate
username problems)

Chris

=====
------------------------------------------
http://www.soccer2002.org.uk - The Game is On!

__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

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

Reply via email to