Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Eclipse Communications Framework (ECF) » Could not start the server with a different port and group(Could not start with a different port. The server by default starts with 3232 and server (group).)
Could not start the server with a different port and group [message #645210] Wed, 15 December 2010 23:15 Go to next message
Aykut Yararbas is currently offline Aykut YararbasFriend
Messages: 5
Registered: December 2010
Junior Member
I am using eclipse helios.Installed the latest ECF plugin.

I could start the server using eclipse.exe -console -application org.eclipse.ecf.server.generic.Server.

I am following the instructions in http://wiki.eclipse.org/ECF_Servers page.

I tried to start to server with a different port ( I used the one in the page eclipse.exe -console -application org.eclipse.ecf.provider.AppGenericServer 3285 mygroup ecf.eclipse.org 20000 )

Is there another way to start the server with a different port and group , with eclipse.exe -application command ?


Thanks and regards,

Aykut Yararbas
aykutyararbas@yahoo.com

I got an error and log file created ;
_-------------------------------------_ LOG_ under /eclipse/configurations/1233.....log

!SESSION 2010-12-15 15:09:40.929 -----------------------------------------------
eclipse.buildId=M20100909-0800
java.version=1.6.0_21
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product -application org.eclipse.ecf.provider.AppGenericServer 3285 mygroup ecf.eclipse.org 20000
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product -console -application org.eclipse.ecf.provider.AppGenericServer 3285 mygroup ecf.eclipse.org 20000

!ENTRY org.eclipse.osgi 4 0 2010-12-15 15:09:42.390
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application "org.eclipse.ecf.provider.AppGenericServer" could not be found in the registry. The applications available are: org.eclipse.ant.core.antRunner, org.eclipse.ant.ui.antRunner, org.eclipse.datatools.connectivity.console.profile.StorageFi leEditor, org.eclipse.ecf.example.clients.chatroomrobot, org.eclipse.ecf.example.clients.chatsorobot, org.eclipse.ecf.example.clients.chatrobot, org.eclipse.ecf.examples.eventadmin.app.EventAdminManager, org.eclipse.ecf.examples.eventadmin.app.EventAdminClient, org.eclipse.ecf.examples.remoteservices.hello.consumer.Hello Consumer, org.eclipse.ecf.examples.remoteservices.hello.ds.consumer.He lloConsumerDS, org.eclipse.ecf.examples.remoteservices.hello.ds.host.HelloH ostDS, org.eclipse.ecf.examples.remoteservices.hello.host.HelloHost , org.eclipse.ecf.examples.updatesite.server.updateSiteServer, org.eclipse.ecf.presence.bot.chatRoomRobot, org.eclipse.ecf.presence.bot.imRobot, org.eclipse.ecf.server.generic.Server, org.eclipse.ecf.server.generic.Client, org.eclipse.emf.codegen.CodeGen, org.eclipse.emf.codegen.JMerger, org.eclipse.emf.codegen.ecore.Generator, org.eclipse.emf.importer.ecore.Ecore2GenModel, org.eclipse.emf.importer.java.Java2GenModel, org.eclipse.emf.importer.rose.Rose2GenModel, org.eclipse.equinox.app.error, org.eclipse.equinox.p2.director.app.application, org.eclipse.equinox.p2.director, org.eclipse.equinox.p2.garbagecollector.application, org.eclipse.equinox.p2.metadata.generator.EclipseGenerator, org.eclipse.equinox.p2.publisher.InstallPublisher, org.eclipse.equinox.p2.publisher.EclipseGenerator, org.eclipse.equinox.p2.publisher.ProductPublisher, org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher , org.eclipse.equinox.p2.reconciler.application, org.eclipse.equinox.p2.repository.repo2runnable, org.eclipse.equinox.p2.repository.metadataverifier, org.eclipse.equinox.p2.artifact.repository.mirrorApplication , org.eclipse.equinox.p2.metadata.repository.mirrorApplication , org.eclipse.equinox.p2.updatesite.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.CategoryPublisher, org.eclipse.help.base.infocenterApplication, org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool, org.eclipse.jdt.apt.core.aptBuild, org.eclipse.jdt.core.JavaCodeFormatter, org.eclipse.pde.build.Build, org.eclipse.pde.junit.runtime.uitestapplication, org.eclipse.pde.junit.runtime.legacytestapplication, org.eclipse.pde.junit.runtime.coretestapplication, org.eclipse.pde.junit.runtime.coretestapplicationnonmain, org.eclipse.pde.junit.runtime.nonuithreadtestapplication, org.eclipse.ui.ide.workbench, org.eclipse.update.core.standaloneUpdate, org.eclipse.update.core.siteOptimizer, org.eclipse.wst.jsdt.core.JavaCodeFormatter, org.eclipse.wst.server.preview.preview.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDe faultApp(EclipseAppContainer.java:248)
at org.eclipse.equinox.internal.app.MainApplicationLauncher.run (MainApplicationLauncher.java:29)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
at org.eclipse.equinox.launcher.Main.main(Main.java:1383)

[Updated on: Wed, 15 December 2010 23:17]

Report message to a moderator

Re: Could not start the server with a different port and group [message #645325 is a reply to message #645210] Thu, 16 December 2010 16:08 Go to previous messageGo to next message
Markus Kuppe is currently offline Markus KuppeFriend
Messages: 177
Registered: July 2009
Senior Member
On 12/16/2010 12:15 AM, Aykut Yararbas wrote:

> java.lang.RuntimeException: Application
> "org.eclipse.ecf.provider.AppGenericServer" could not be found in the
> registry. The applications available are:
> org.eclipse.ant.core.antRunner, org.eclipse.ant.ui.antRunner,
> org.eclipse.datatools.connectivity.console.profile.StorageFi leEditor,
> org.eclipse.ecf.example.clients.chatroomrobot,
> org.eclipse.ecf.example.clients.chatsorobot,
> org.eclipse.ecf.example.clients.chatrobot,
> org.eclipse.ecf.examples.eventadmin.app.EventAdminManager,
> org.eclipse.ecf.examples.eventadmin.app.EventAdminClient,
> org.eclipse.ecf.examples.remoteservices.hello.consumer.Hello Consumer,
> org.eclipse.ecf.examples.remoteservices.hello.ds.consumer.He
> lloConsumerDS,
> org.eclipse.ecf.examples.remoteservices.hello.ds.host.HelloH ostDS,
> org.eclipse.ecf.examples.remoteservices.hello.host.HelloHost ,
> org.eclipse.ecf.examples.updatesite.server.updateSiteServer,
> org.eclipse.ecf.presence.bot.chatRoomRobot,
> org.eclipse.ecf.presence.bot.imRobot,
> org.eclipse.ecf.server.generic.Server,
> org.eclipse.ecf.server.generic.Client, org.eclipse.emf.codegen.CodeGen,
> org.eclipse.emf.codegen.JMerger,
> org.eclipse.emf.codegen.ecore.Generator,
> org.eclipse.emf.importer.ecore.Ecore2GenModel,
> org.eclipse.emf.importer.java.Java2GenModel,
> org.eclipse.emf.importer.rose.Rose2GenModel,
> org.eclipse.equinox.app.error,
> org.eclipse.equinox.p2.director.app.application,
> org.eclipse.equinox.p2.director,
> org.eclipse.equinox.p2.garbagecollector.application,
> org.eclipse.equinox.p2.metadata.generator.EclipseGenerator,
> org.eclipse.equinox.p2.publisher.InstallPublisher,
> org.eclipse.equinox.p2.publisher.EclipseGenerator,
> org.eclipse.equinox.p2.publisher.ProductPublisher,
> org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher ,
> org.eclipse.equinox.p2.reconciler.application,
> org.eclipse.equinox.p2.repository.repo2runnable,
> org.eclipse.equinox.p2.repository.metadataverifier,
> org.eclipse.equinox.p2.artifact.repository.mirrorApplication ,
> org.eclipse.equinox.p2.metadata.repository.mirrorApplication ,
> org.eclipse.equinox.p2.updatesite.UpdateSitePublisher,
> org.eclipse.equinox.p2.publisher.UpdateSitePublisher,
> org.eclipse.equinox.p2.publisher.CategoryPublisher,
> org.eclipse.help.base.infocenterApplication,
> org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool,
> org.eclipse.jdt.apt.core.aptBuild,
> org.eclipse.jdt.core.JavaCodeFormatter, org.eclipse.pde.build.Build,
> org.eclipse.pde.junit.runtime.uitestapplication,
> org.eclipse.pde.junit.runtime.legacytestapplication,
> org.eclipse.pde.junit.runtime.coretestapplication,
> org.eclipse.pde.junit.runtime.coretestapplicationnonmain,
> org.eclipse.pde.junit.runtime.nonuithreadtestapplication,
> org.eclipse.ui.ide.workbench, org.eclipse.update.core.standaloneUpdate,
> org.eclipse.update.core.siteOptimizer,
> org.eclipse.wst.jsdt.core.JavaCodeFormatter,
> org.eclipse.wst.server.preview.preview.
> at org.eclipse.equinox.internal.app.EclipseAppContainer.startDe
> faultApp(EclipseAppContainer.java:248)
> at org.eclipse.equinox.internal.app.MainApplicationLauncher.run
> (MainApplicationLauncher.java:29)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher
> .runApplication(EclipseAppLauncher.java:110)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher
> .start(EclipseAppLauncher.java:79)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS
> tarter.java:369)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS
> tarter.java:179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 619)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
>

Hi Aykut,

I assume you use an ECF version newer than 2.0. Thus the application cmd
line parameter is named "org.eclipse.ecf.server.generic.Server" instead
of "org.eclipse.ecf.provider.AppGenericServer".

HTH
Markus
Re: Could not start the server with a different port and group [message #647198 is a reply to message #645325] Wed, 05 January 2011 00:16 Go to previous messageGo to next message
Aykut Yararbas is currently offline Aykut YararbasFriend
Messages: 5
Registered: December 2010
Junior Member
Hi Markus,

Thanks a lot for your comment.

I tried ;

eclipse.exe -console -application org.eclipse.ecf.server.generic.Server 3285 mygroup



And once again 3282 ;

osgi> No support for IPv6 in jSLP yet (see https://bugs.eclipse.org/328074), ski
pping interface...
WARNING: Port 9278 already in use. This instance of R-OSGi is running on port 9279

ZooDiscovery> Discovery Service Activated. Jan 4, 2011 4:11:59 PM.
Generic server started with id=ecftcp://localhost:3282/server


Thanks and regards,

Aykut Yararbas

[Updated on: Wed, 05 January 2011 00:48]

Report message to a moderator

Re: Could not start the server with a different port and group [message #647230 is a reply to message #647198] Wed, 05 January 2011 08:30 Go to previous messageGo to next message
Markus Kuppe is currently offline Markus KuppeFriend
Messages: 177
Registered: July 2009
Senior Member
On 01/05/2011 01:16 AM, Aykut Yararbas wrote:
> Hi Mark,
> Thanks a lot for your comment.
>
> I tried ;
> eclipse.exe -console -application
> org.eclipse.ecf.server.generic.Server 3285 mygroup ecf.eclipse.org 20000
>
>
>
> And once again 3282 ;
>
> osgi> No support for IPv6 in jSLP yet (see
> https://bugs.eclipse.org/328074), ski
> pping interface...
> WARNING: Port 9278 already in use. This instance of R-OSGi is running on
> port 9279
>
> ZooDiscovery> Discovery Service Activated. Jan 4, 2011 4:11:59 PM.
> Generic server started with id=ecftcp://localhost:3282/server
>
>
> Thanks and regards,
>
> Aykut Yararbas
>

Hi Aykut,

I assume you want to change the ECF generic provider port from 3282 to
something different. This can be done by setting the system property
"org.eclipse.ecf.provider.generic.port" to the new value.

Markus
Re: Could not start the server with a different port and group [message #647345 is a reply to message #647230] Wed, 05 January 2011 17:36 Go to previous messageGo to next message
Aykut Yararbas is currently offline Aykut YararbasFriend
Messages: 5
Registered: December 2010
Junior Member
Hi Markus,

It works Smile

c:\eclipse-jee-helios-win32-x86_64\eclipse\plugins>java -Dorg.eclipse.ecf.provider.generic.port=3333 -jar org.eclipse.equinox.launcher_1.1.0.v20100507.jar -cons
ole -application org.eclipse.ecf.server.generic.Server

osgi> No support for IPv6 in jSLP yet (see https://bugs.eclipse.org/328074), skipping interface...
WARNING: Port 9278 already in use. This instance of R-OSGi is running on port 9279
ZooDiscovery> Discovery Service Activated. Jan 5, 2011 9:34:10 AM.
Generic server started with id=ecftcp://localhost:3333/server

Thanks,

How can I set the group ?


Regards,

Aykut Yararbas
Re: Could not start the server with a different port and group [message #647350 is a reply to message #647345] Wed, 05 January 2011 18:15 Go to previous messageGo to next message
Aykut Yararbas is currently offline Aykut YararbasFriend
Messages: 5
Registered: December 2010
Junior Member

Hi Markus ,

Here I found the parameters from your comment to a bug.

-Dorg.eclipse.ecf.provider.generic.name="/mygroup"

Be careful to start the group name with '/'.

c:\eclipse-jee-helios-win32-x86_64\eclipse\plugins>java -Dorg.eclipse.ecf.provider.generic.port=3333 -Dorg.eclipse.ecf.provider.generic.name="/mygroup" -jar or
g.eclipse.equinox.launcher_1.1.0.v20100507.jar -console -application org.eclipse.ecf.server.generic.Server

osgi> No support for IPv6 in jSLP yet (see https://bugs.eclipse.org/328074), skipping interface...
WARNING: Port 9278 already in use. This instance of R-OSGi is running on port 9279
ZooDiscovery> Discovery Service Activated. Jan 5, 2011 10:12:33 AM.
Generic server started with id=ecftcp://localhost:3333/mygroup

c:\eclipse-jee-helios-win32-x86_64\eclipse\plugins>


See https://bugs.eclipse.org/bugs/show_bug.cgi?id=326841


Parameters are ;
org.eclipse.ecf.provider.generic.host ("localhost")
org.eclipse.ecf.provider.generic.name ("/server")
org.eclipse.ecf.provider.generic.scheme ("ecftcp")
Int:
org.eclipse.ecf.provider.generic.port (3282)
org.eclipse.ecf.provider.generic.keepalive (30000)

Comment 1Markus Alexander Kuppe 2010-10-02 09:06:24 EDT
Additionally "org.eclipse.ecf.provider.generic.host.useHostName=true"
overwrites "org.eclipse.ecf.provider.generic.host" with
InetAddress.getLocalHost().getCanonicalHostname() iff set
Re: Could not start the server with a different port and group [message #647354 is a reply to message #647345] Wed, 05 January 2011 18:04 Go to previous messageGo to next message
Markus Kuppe is currently offline Markus KuppeFriend
Messages: 177
Registered: July 2009
Senior Member
On 01/05/2011 06:36 PM, Aykut Yararbas wrote:
> Hi Markus,
>
> It works :)
> c:\eclipse-jee-helios-win32-x86_64\eclipse\plugins>java
> -Dorg.eclipse.ecf.provider.generic.port=3333 -jar
> org.eclipse.equinox.launcher_1.1.0.v20100507.jar -cons
> ole -application org.eclipse.ecf.server.generic.Server
>
> osgi> No support for IPv6 in jSLP yet (see
> https://bugs.eclipse.org/328074), skipping interface...
> WARNING: Port 9278 already in use. This instance of R-OSGi is running on
> port 9279
> ZooDiscovery> Discovery Service Activated. Jan 5, 2011 9:34:10 AM.
> Generic server started with id=ecftcp://localhost:3333/server
>
> Thanks,
> How can I set the group ?
>
>
> Regards,
>
> Aykut Yararbas
>

What group?

Markus
Re: Could not start the server with a different port and group [message #647365 is a reply to message #647354] Wed, 05 January 2011 19:13 Go to previous message
Aykut Yararbas is currently offline Aykut YararbasFriend
Messages: 5
Registered: December 2010
Junior Member
Hi Markus,

I mentioned org.eclipse.ecf.provider.generic.name ("/server") name attribute as group.

I found the parameter. See my previous comment.

Thanks and kind regards for your help.
It really resolved my issues.

Aykut Yararbas
Previous Topic:Unable to build ecf tutorials on helios because of dependency
Next Topic:Shared Editor example not working
Goto Forum:
  


Current Time: Fri Dec 06 04:52:12 GMT 2024

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

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

Back to the top