Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Eclipse Communications Framework (ECF) » Running Collaboration Server
Running Collaboration Server [message #589199] Mon, 03 October 2005 12:57 Go to next message
Eclipse UserFriend
Originally posted by: topgun.lucent.com

Hi all,
I'm a newbie to Eclipse; just loaded the 3.1.1 release and loaded up many features including ECF. I wanted to try some collaboration with a co-worker, but we do not seem to have the Java-application for the server loaded [there are no applications listed at all]. We're trying to follow the documentation on this, but not getting anywhere. Any clues as to what we are not doing?

Thanks,

John
Re: Running Collaboration Server [message #589207 is a reply to message #589199] Mon, 03 October 2005 22:27 Go to previous messageGo to next message
Scott Lewis is currently offline Scott LewisFriend
Messages: 1038
Registered: July 2009
Senior Member
Hi John,

John Letourneau wrote:
> Hi all,
> I'm a newbie to Eclipse; just loaded the 3.1.1 release and loaded up many features including ECF. I wanted to try some collaboration with a co-worker, but we do not seem to have the Java-application for the server loaded [there are no applications listed at all]. We're trying to follow the documentation on this, but not getting anywhere. Any clues as to what we are not doing?

The generic collaboration server is installed as part of the 'server
feature'. Let's assume eclipse is installed in <eclipsehome>. After
install of all ECF 0.4.0, the ECF server feature is in:

<eclipsehome>/features/org.eclipse.ecf.serverfeature_0.4.0

There are other ECF features listed in <eclipsehome>/features, and also
installed are the plugins, all in <eclipsehome>/plugins/org.eclipse.ecf.*

The generic server can be launched as a *java application* (outside of
Eclipse) by launching the (windows or unix) shell script available in

<eclipsehome> /features/org.eclipse.ecf.serverfeature_0.4.0/bin/startserve r.[cmd|sh]

The shell scripts are currently pretty hacked up...as they assume that
the current working directory is

<eclipsehome>/features/org.eclipse.ecf.serverfeature_0.4.0/bin

But if you go to this directory, and launch startserver.[cmd|sh] from a
DOS or Unix shell (assuming 'java' on path), this should start an
instance of the ECF generic server that has the following ID:

ecftcp://localhost:3282/server

Note you can change this ID by adding a command line parameter:

e.g.: startserver.sh ecftcp://myhost.lucent.com:3282/group

NOTE: If you install the ECF plugins somewhere on disk *without*
Eclipse present all of the above should still work...the generic server
application doesn't require Eclipse itself at all (for example, we
simply download/install the ECF 0.4.0 'all' zip, and then run this
application on the servers that we have going. Java/JDK is required, of
course.

Also...if you want to connect to a test generic server you can use one
of these as well:

ecftcp://ecf1.osuosl.org:3282/server
ecftcp://ecf1.osuosl.org:3282/group1
ecftcp://ecf1.osuosl.org:3282/group2

John we are working on improving the install and config for the ECF
generic server right now, and so this will all likely be changing over
the next few months. So if you have ideas and ability to help please
let us know...

Scott


>
> Thanks,
>
> John
Re: Running Collaboration Server [message #589222 is a reply to message #589207] Tue, 04 October 2005 12:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: topgun.lucent.com

That's the ticket...thanks again!
One follow-up...
you showed an example server invocation as:
startserver ecftcp://host.lucent.com:port/group

I assume 'group' can be anything I'd like, but what if I want >1 group? List them as multiple args? Separate invocations of the server [binding issues on the port?]?
[sorry for being dense]

Thanks again,
John
Re: Running Collaboration Server [message #589231 is a reply to message #589222] Tue, 04 October 2005 18:38 Go to previous messageGo to next message
Scott Lewis is currently offline Scott LewisFriend
Messages: 1038
Registered: July 2009
Senior Member
Hi John,

John Letourneau wrote:
> That's the ticket...thanks again!
> One follow-up...
> you showed an example server invocation as:
> startserver ecftcp://host.lucent.com:port/group
>
> I assume 'group' can be anything I'd like, but what if I want >1 group? List them as multiple args? Separate invocations of the server [binding issues on the port?]?
> [sorry for being dense]

You are not being dense at all...I am :).

There's an xml server config file that can be read upon startup...in
fact by default it does this...as you can see in the startserver.cmd

<startserver.cmd>
....lots of stuff here

set MAINCLASS=org.eclipse.ecf.provider.app.ServerApplication
set ARGS=-c ..\conf\server.xml %*
rem Start server
echo "Starting server with options: %OPTIONS% and args: %ARGS%"
java -cp %CP% %OPTIONS% %MAINCLASS% %ARGS%


in the file
<eclipsehome> \features\org.eclipse.ecf.serverfeature_0.4.0\conf\server.xm l

you will see something like this (this is the default):

<server>
<connector protocol="ecftcp" hostname="localhost" port="3282"
timeout="30000">
<group name="server"/>
</connector>
</server>

You can put as many 'groups' in the given connector as you like...e.g.

<server>
<connector protocol="ecftcp" hostname="localhost" port="3282"
timeout="30000">
<group name="server"/>
<group name="group1"/>
<group name="group2"/>
<group name="group3"/>
</connector>
</server>

This will then create a server that hosts 4 groups by the given names
and the URLs will look like:

ecftcp://host.lucent.com:3282/group1, etc

Note that you will want to change the hostname attribute as well to
match the hostname...and you can change the port also to whatever you
prefer.

Scott
Re: Running Collaboration Server [message #589254 is a reply to message #589231] Mon, 10 October 2005 15:28 Go to previous message
Francois Cottet is currently offline Francois CottetFriend
Messages: 19
Registered: July 2009
Junior Member
Hi all,

Is there a place where I could start my own "private" group.
I'd like to start using ECf to communicate with some buddies but I don't
have a permanent web connection so I need an public server to host my
ECF group. Is it possible somewhere?

Best regards,
Francois


Scott Lewis wrote:
> Hi John,
>
> John Letourneau wrote:
>
>> That's the ticket...thanks again!
>> One follow-up...
>> you showed an example server invocation as:
>> startserver ecftcp://host.lucent.com:port/group
>>
>> I assume 'group' can be anything I'd like, but what if I want >1
>> group? List them as multiple args? Separate invocations of the server
>> [binding issues on the port?]?
>> [sorry for being dense]
>
>
> You are not being dense at all...I am :).
>
> There's an xml server config file that can be read upon startup...in
> fact by default it does this...as you can see in the startserver.cmd
>
> <startserver.cmd>
> ...lots of stuff here
>
> set MAINCLASS=org.eclipse.ecf.provider.app.ServerApplication
> set ARGS=-c ..\conf\server.xml %*
> rem Start server
> echo "Starting server with options: %OPTIONS% and args: %ARGS%"
> java -cp %CP% %OPTIONS% %MAINCLASS% %ARGS%
>
>
> in the file
> <eclipsehome> \features\org.eclipse.ecf.serverfeature_0.4.0\conf\server.xm l
>
> you will see something like this (this is the default):
>
> <server>
> <connector protocol="ecftcp" hostname="localhost" port="3282"
> timeout="30000">
> <group name="server"/>
> </connector>
> </server>
>
> You can put as many 'groups' in the given connector as you like...e.g.
>
> <server>
> <connector protocol="ecftcp" hostname="localhost" port="3282"
> timeout="30000">
> <group name="server"/>
> <group name="group1"/>
> <group name="group2"/>
> <group name="group3"/>
> </connector>
> </server>
>
> This will then create a server that hosts 4 groups by the given names
> and the URLs will look like:
>
> ecftcp://host.lucent.com:3282/group1, etc
>
> Note that you will want to change the hostname attribute as well to
> match the hostname...and you can change the port also to whatever you
> prefer.
>
> Scott
Previous Topic:ECF Interview at EclipseZone
Next Topic:Anonymous CVS Access not working
Goto Forum:
  


Current Time: Sat Apr 20 00:41:52 GMT 2024

Powered by FUDForum. Page generated in 0.03572 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top