Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Invalid console port error in OSGI console
Invalid console port error in OSGI console [message #116357] Thu, 21 August 2008 10:03 Go to next message
Ramapriya is currently offline RamapriyaFriend
Messages: 8
Registered: July 2009
Junior Member
Hello All,

I have built a command line RCP which works fine from my workspace but
giving error as "Invalid console port: {argument}" when some command line
arguments are passed. I am using eclipse europa and java 1.5.

when i run application in OSGI console -

app_cmdline -console

it runs fine. But when pass an argument (here a properties file)

app_cmdline -console test.properties

it fails and says "Invalid console port: test.properties"

Can anyone tell what could be the problem.

Thanks in advance. Regards,
Ramapriya
Re: Invalid console port error in OSGI console [message #117076 is a reply to message #116357] Wed, 03 September 2008 19:21 Go to previous message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
-console has an optional port that comes after it on the command line.

If the argument following -console does not start with "-" then it is
interpreted as the port number.

Try changing the order of your arguments. Or maybe -console ""

-Andrew

Ramapriya wrote:
> Hello All,
>
> I have built a command line RCP which works fine from my workspace but
> giving error as "Invalid console port: {argument}" when some command
> line arguments are passed. I am using eclipse europa and java 1.5.
>
> when i run application in OSGI console -
>
> app_cmdline -console
>
> it runs fine. But when pass an argument (here a properties file)
>
> app_cmdline -console test.properties
>
> it fails and says "Invalid console port: test.properties"
> Can anyone tell what could be the problem.
>
> Thanks in advance. Regards,
> Ramapriya
>
>
Previous Topic:Launching equinox
Next Topic:Jetty + HTTPS
Goto Forum:
  


Current Time: Thu Apr 18 06:41:38 GMT 2024

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

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

Back to the top