Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Connection refused -- steps to get RAP working on your browser?
Connection refused -- steps to get RAP working on your browser? [message #110682] Tue, 28 October 2008 21:32 Go to next message
Adam is currently offline AdamFriend
Messages: 25
Registered: July 2009
Junior Member
Hello all,

So I got the Required Bundle problem working (I simply looked at the RAP
workbench demo and mimicked its runtime configuration -- I have a feeling
it had to do with the Configuration's setting for Client-side Library
Variant as Standard instead of Debug, though I can't be totally sure).

Now I have a new problem -- Eclipse keeps refusing to connect to
localhost:port to start my RAP app. I tried to manually configure my port
and try it out in both internal and external browsers, and that didn't do
anything.

I am positive that apache, mysql, php, and whatever else needs to be run
is working and operational at the time I try to start my app. I chmodded
my workspace folder (and the folder of this project) to 755 so that way
Apache isn't refused access to my folders.

Besides, the RAP workbench demo works and its in the same directory as my
other projects, so why would that one be allowed a connection but not my
project? The sample address for my project is:

http://127.0.0.1:10359/rap?startup=default

Could it be my Apache DocumentRoot? My project is located in
/home/me/workspace/THISPROJECT

but my DocumentRoot I'm pretty sure is /var/www/html

if I change my DocumentRoot, will that fix it?
Re: Connection refused -- steps to get RAP working on your browser? [message #110879 is a reply to message #110682] Thu, 30 October 2008 16:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

puh, I don't get at all what you are doing.
There is no need for Apache, MySql or PHP to run a RAP application.
If 'Eclipse keeps refusing to connect to localhost:port', please
describe step by step what you are doing and where you are stuck.

- Rüdiger


Adam wrote:
> Hello all,
>
> So I got the Required Bundle problem working (I simply looked at the RAP
> workbench demo and mimicked its runtime configuration -- I have a
> feeling it had to do with the Configuration's setting for Client-side
> Library Variant as Standard instead of Debug, though I can't be totally
> sure).
>
> Now I have a new problem -- Eclipse keeps refusing to connect to
> localhost:port to start my RAP app. I tried to manually configure my
> port and try it out in both internal and external browsers, and that
> didn't do anything.
>
> I am positive that apache, mysql, php, and whatever else needs to be run
> is working and operational at the time I try to start my app. I chmodded
> my workspace folder (and the folder of this project) to 755 so that way
> Apache isn't refused access to my folders.
>
> Besides, the RAP workbench demo works and its in the same directory as
> my other projects, so why would that one be allowed a connection but not
> my project? The sample address for my project is:
>
> http://127.0.0.1:10359/rap?startup=default
>
> Could it be my Apache DocumentRoot? My project is located in
> /home/me/workspace/THISPROJECT
>
> but my DocumentRoot I'm pretty sure is /var/www/html
>
> if I change my DocumentRoot, will that fix it?
>
>
Re: Connection refused -- steps to get RAP working on your browser? [message #111079 is a reply to message #110879] Mon, 03 November 2008 00:50 Go to previous messageGo to next message
Adam is currently offline AdamFriend
Messages: 25
Registered: July 2009
Junior Member
All I do is click "Run RAP Application," and the browser gives me a Page
Load Error:

"Firefox can't establish a connection to the server at 127.0.0.1:33159."

I tried this with the Workbench Demo immediately following, and the Demo
works.

This came from my SS list:


Framework is launched.

id State Bundle
0 ACTIVE org.eclipse.osgi_3.4.2.R34x_v20080826-1230
1 ACTIVE ViztoolJars_1.0.0
6 ACTIVE org.eclipse.equinox.http.registry_1.0.100.v20080427-0830
7 ACTIVE org.eclipse.rap.ui_1.1.1.20080917-1625
8 ACTIVE org.eclipse.rap.jface_1.1.1.20080917-1625
9 ACTIVE org.eclipse.rap.ui.views_1.1.1.20080917-1625
10 ACTIVE org.eclipse.core.jobs_3.4.0.v20080512
11 ACTIVE org.eclipse.equinox.app_1.1.0.v20080421-2006
12 ACTIVE org.eclipse.osgi.services_3.1.200.v20071203
13 ACTIVE org.eclipse.core.commands_3.4.0.I20080509-2000
14 ACTIVE org.eclipse.core.databinding_1.1.1.M20080827-0800b
15 ACTIVE org.eclipse.rap.ui.workbench_1.1.1.20080917-1625
16 ACTIVE org.eclipse.equinox.registry_3.4.0.v20080516-0950
17 ACTIVE javax.servlet_2.4.0.v200806031604
18 ACTIVE org.eclipse.equinox.preferences_3.2.201.R34x_v20080709
19 ACTIVE org.eclipse.equinox.common_3.4.0.v20080421-2006
20 ACTIVE org.eclipse.core.runtime_3.4.0.v20080512
21 ACTIVE org.eclipse.core.expressions_3.4.0.v20080603-2000
22 ACTIVE org.eclipse.rap.jface.databinding_1.1.1.20080917-1625
23 ACTIVE org.eclipse.rap.ui.forms_1.1.1.20080917-1625
24 ACTIVE com.ibm.icu_3.8.1.v20080530
25 ACTIVE org.eclipse.rap.rwt_1.1.1.20080917-1625
Fragments=27
26 ACTIVE org.eclipse.core.contenttype_3.3.0.v20080604-1400
27 RESOLVED org.eclipse.rap.rwt.q07_1.1.1.20080917-1625
Master=25
35 ACTIVE com.vertica.viztool_0.9.0
36 ACTIVE org.eclipse.rap.demo_1.1.1.20080917-1625

Any ideas?

Rüdiger Herrmann wrote:

> puh, I don't get at all what you are doing.
> There is no need for Apache, MySql or PHP to run a RAP application.
> If 'Eclipse keeps refusing to connect to localhost:port', please
> describe step by step what you are doing and where you are stuck.

> - Rüdiger


> Adam wrote:
>> Hello all,
>>
>> So I got the Required Bundle problem working (I simply looked at the RAP
>> workbench demo and mimicked its runtime configuration -- I have a
>> feeling it had to do with the Configuration's setting for Client-side
>> Library Variant as Standard instead of Debug, though I can't be totally
>> sure).
>>
>> Now I have a new problem -- Eclipse keeps refusing to connect to
>> localhost:port to start my RAP app. I tried to manually configure my
>> port and try it out in both internal and external browsers, and that
>> didn't do anything.
>>
>> I am positive that apache, mysql, php, and whatever else needs to be run
>> is working and operational at the time I try to start my app. I chmodded
>> my workspace folder (and the folder of this project) to 755 so that way
>> Apache isn't refused access to my folders.
>>
>> Besides, the RAP workbench demo works and its in the same directory as
>> my other projects, so why would that one be allowed a connection but not
>> my project? The sample address for my project is:
>>
>> http://127.0.0.1:10359/rap?startup=default
>>
>> Could it be my Apache DocumentRoot? My project is located in
>> /home/me/workspace/THISPROJECT
>>
>> but my DocumentRoot I'm pretty sure is /var/www/html
>>
>> if I change my DocumentRoot, will that fix it?
>>
>>
Re: Connection refused -- steps to get RAP working on your browser? [message #111104 is a reply to message #111079] Mon, 03 November 2008 08:11 Go to previous message
Eclipse UserFriend
Originally posted by: ifurnadjiev.innoopract.com

Hi Adam,

the two plugins related to jetty are missing:
org.eclipse.equinox.http.jetty
org.mortbay.jetty

Best,
Ivan

Adam wrote:
> All I do is click "Run RAP Application," and the browser gives me a
> Page Load Error:
>
> "Firefox can't establish a connection to the server at 127.0.0.1:33159."
>
> I tried this with the Workbench Demo immediately following, and the
> Demo works.
>
> This came from my SS list:
>
>
> Framework is launched.
>
> id State Bundle
> 0 ACTIVE org.eclipse.osgi_3.4.2.R34x_v20080826-1230
> 1 ACTIVE ViztoolJars_1.0.0
> 6 ACTIVE org.eclipse.equinox.http.registry_1.0.100.v20080427-0830
> 7 ACTIVE org.eclipse.rap.ui_1.1.1.20080917-1625
> 8 ACTIVE org.eclipse.rap.jface_1.1.1.20080917-1625
> 9 ACTIVE org.eclipse.rap.ui.views_1.1.1.20080917-1625
> 10 ACTIVE org.eclipse.core.jobs_3.4.0.v20080512
> 11 ACTIVE org.eclipse.equinox.app_1.1.0.v20080421-2006
> 12 ACTIVE org.eclipse.osgi.services_3.1.200.v20071203
> 13 ACTIVE org.eclipse.core.commands_3.4.0.I20080509-2000
> 14 ACTIVE org.eclipse.core.databinding_1.1.1.M20080827-0800b
> 15 ACTIVE org.eclipse.rap.ui.workbench_1.1.1.20080917-1625
> 16 ACTIVE org.eclipse.equinox.registry_3.4.0.v20080516-0950
> 17 ACTIVE javax.servlet_2.4.0.v200806031604
> 18 ACTIVE org.eclipse.equinox.preferences_3.2.201.R34x_v20080709
> 19 ACTIVE org.eclipse.equinox.common_3.4.0.v20080421-2006
> 20 ACTIVE org.eclipse.core.runtime_3.4.0.v20080512
> 21 ACTIVE org.eclipse.core.expressions_3.4.0.v20080603-2000
> 22 ACTIVE org.eclipse.rap.jface.databinding_1.1.1.20080917-1625
> 23 ACTIVE org.eclipse.rap.ui.forms_1.1.1.20080917-1625
> 24 ACTIVE com.ibm.icu_3.8.1.v20080530
> 25 ACTIVE org.eclipse.rap.rwt_1.1.1.20080917-1625
> Fragments=27
> 26 ACTIVE org.eclipse.core.contenttype_3.3.0.v20080604-1400
> 27 RESOLVED org.eclipse.rap.rwt.q07_1.1.1.20080917-1625
> Master=25
> 35 ACTIVE com.vertica.viztool_0.9.0
> 36 ACTIVE org.eclipse.rap.demo_1.1.1.20080917-1625
>
> Any ideas?
>
> Rüdiger Herrmann wrote:
>
>> puh, I don't get at all what you are doing.
>> There is no need for Apache, MySql or PHP to run a RAP application.
>> If 'Eclipse keeps refusing to connect to localhost:port', please
>> describe step by step what you are doing and where you are stuck.
>
>> - Rüdiger
>
>
>> Adam wrote:
>>> Hello all,
>>>
>>> So I got the Required Bundle problem working (I simply looked at the
>>> RAP workbench demo and mimicked its runtime configuration -- I have
>>> a feeling it had to do with the Configuration's setting for
>>> Client-side Library Variant as Standard instead of Debug, though I
>>> can't be totally sure).
>>>
>>> Now I have a new problem -- Eclipse keeps refusing to connect to
>>> localhost:port to start my RAP app. I tried to manually configure my
>>> port and try it out in both internal and external browsers, and that
>>> didn't do anything.
>>>
>>> I am positive that apache, mysql, php, and whatever else needs to be
>>> run is working and operational at the time I try to start my app. I
>>> chmodded my workspace folder (and the folder of this project) to 755
>>> so that way Apache isn't refused access to my folders.
>>>
>>> Besides, the RAP workbench demo works and its in the same directory
>>> as my other projects, so why would that one be allowed a connection
>>> but not my project? The sample address for my project is:
>>>
>>> http://127.0.0.1:10359/rap?startup=default
>>>
>>> Could it be my Apache DocumentRoot? My project is located in
>>> /home/me/workspace/THISPROJECT
>>>
>>> but my DocumentRoot I'm pretty sure is /var/www/html
>>>
>>> if I change my DocumentRoot, will that fix it?
>>>
>>>
>
>
Previous Topic:Embedding Applet within RAP
Next Topic:Using third-party plugins in rap
Goto Forum:
  


Current Time: Fri Feb 03 03:20:47 GMT 2023

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

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

Back to the top