Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » any document for newbie?
any document for newbie? [message #44226] Sat, 01 September 2007 11:06 Go to next message
Hoping White is currently offline Hoping WhiteFriend
Messages: 71
Registered: July 2009
Member
Hello everyone,I am new to rap, is there any document for me to get in? Is
there any document introducing how to do it step by step? By the way, I have
tried the rap demo, but I got a Http 400 ERROR, what's this about? Thanks
very much!
Re: any document for newbie? [message #44284 is a reply to message #44226] Sat, 01 September 2007 21:41 Go to previous messageGo to next message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 237
Registered: July 2009
Senior Member
Hi!

We're really sorry to have no real documentation yet. For the first try,
see http://www.eclipse.org/rap/gettingstarted.php.

If you've still problems with the HTTP 400 Error code, just tell us what
you did and maybe we can find the problem together.

So long
Benny

Hoping White wrote:
> Hello everyone,I am new to rap, is there any document for me to get in? Is
> there any document introducing how to do it step by step? By the way, I have
> tried the rap demo, but I got a Http 400 ERROR, what's this about? Thanks
> very much!
>
>
Re: any document for newbie? [message #44347 is a reply to message #44284] Sun, 02 September 2007 00:02 Go to previous messageGo to next message
Hoping White is currently offline Hoping WhiteFriend
Messages: 71
Registered: July 2009
Member
thanks for reply, I made a mistake, it's a http 404 error.
My envioronment is eclipse 3.3 plus rap milestone 6.
And I just import the plugin "org.eclipse.rap.demo" as source project, then
run it as osgi framework.It seem all right for the console output, but when
I visit by http://localhost:9090/rap I got a http 404 error!
"Benjamin Muskalla" <bmuskalla@innoopract.com>
??????:fbcmfu$unh$2@build.eclipse.org...
> Hi!
>
> We're really sorry to have no real documentation yet. For the first try,
> see http://www.eclipse.org/rap/gettingstarted.php.
>
> If you've still problems with the HTTP 400 Error code, just tell us what
> you did and maybe we can find the problem together.
>
> So long
> Benny
>
> Hoping White wrote:
>> Hello everyone,I am new to rap, is there any document for me to get in?
>> Is there any document introducing how to do it step by step? By the way,
>> I have tried the rap demo, but I got a Http 400 ERROR, what's this about?
>> Thanks very much!
Re: any document for newbie? [message #44409 is a reply to message #44347] Sun, 02 September 2007 12:36 Go to previous messageGo to next message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 237
Registered: July 2009
Senior Member
Hi,

did you install the RAP target on top of your existing Eclipse
installation or in a separate folder?

You could start the OSGi launch config with -console and -consolelog to
see if there are any exceptions. Additionally you can use the "ss"
command in the OSGi console to determinate if all bundles were loaded
correctly.

Greets
Benny

Hoping White wrote:
> thanks for reply, I made a mistake, it's a http 404 error.
> My envioronment is eclipse 3.3 plus rap milestone 6.
> And I just import the plugin "org.eclipse.rap.demo" as source project, then
> run it as osgi framework.It seem all right for the console output, but when
> I visit by http://localhost:9090/rap I got a http 404 error!
> "Benjamin Muskalla" <bmuskalla@innoopract.com>
> ??????:fbcmfu$unh$2@build.eclipse.org...
>> Hi!
>>
>> We're really sorry to have no real documentation yet. For the first try,
>> see http://www.eclipse.org/rap/gettingstarted.php.
>>
>> If you've still problems with the HTTP 400 Error code, just tell us what
>> you did and maybe we can find the problem together.
>>
>> So long
>> Benny
>>
>> Hoping White wrote:
>>> Hello everyone,I am new to rap, is there any document for me to get in?
>>> Is there any document introducing how to do it step by step? By the way,
>>> I have tried the rap demo, but I got a Http 400 ERROR, what's this about?
>>> Thanks very much!
>
>
Re: any document for newbie? [message #44494 is a reply to message #44409] Sun, 02 September 2007 14:17 Go to previous messageGo to next message
Hoping White is currently offline Hoping WhiteFriend
Messages: 71
Registered: July 2009
Member
I installed rap in a seperate fold and I add the folder to the current
target location then reload, everything is ok,No exception in the
console,the console out put is like this:
osgi> 2007-9-2 22:16:23 org.mortbay.http.HttpServer doStart
??: Version Jetty/5.1.x
2007-9-2 22:16:23 org.mortbay.util.Container start
??: Started org.mortbay.jetty.servlet.ServletHandler@3b1d04
2007-9-2 22:16:23 org.mortbay.util.Container start
??: Started HttpContext[/,/]
2007-9-2 22:16:23 org.mortbay.http.SocketListener start
??: Started SocketListener on 0.0.0.0:9090
2007-9-2 22:16:23 org.mortbay.util.Container start
??: Started org.mortbay.http.HttpServer@8c1dd9

"Benjamin Muskalla" <bmuskalla@innoopract.com>
??????:fbeasu$phf$1@build.eclipse.org...
> Hi,
>
> did you install the RAP target on top of your existing Eclipse
> installation or in a separate folder?
>
> You could start the OSGi launch config with -console and -consolelog to
> see if there are any exceptions. Additionally you can use the "ss" command
> in the OSGi console to determinate if all bundles were loaded correctly.
>
> Greets
> Benny
>
> Hoping White wrote:
>> thanks for reply, I made a mistake, it's a http 404 error.
>> My envioronment is eclipse 3.3 plus rap milestone 6.
>> And I just import the plugin "org.eclipse.rap.demo" as source project,
>> then run it as osgi framework.It seem all right for the console output,
>> but when I visit by http://localhost:9090/rap I got a http 404 error!
>> "Benjamin Muskalla" <bmuskalla@innoopract.com>
>> ??????:fbcmfu$unh$2@build.eclipse.org...
>>> Hi!
>>>
>>> We're really sorry to have no real documentation yet. For the first try,
>>> see http://www.eclipse.org/rap/gettingstarted.php.
>>>
>>> If you've still problems with the HTTP 400 Error code, just tell us what
>>> you did and maybe we can find the problem together.
>>>
>>> So long
>>> Benny
>>>
>>> Hoping White wrote:
>>>> Hello everyone,I am new to rap, is there any document for me to get in?
>>>> Is there any document introducing how to do it step by step? By the
>>>> way, I have tried the rap demo, but I got a Http 400 ERROR, what's this
>>>> about? Thanks very much!
>>
Re: any document for newbie? [message #44556 is a reply to message #44494] Mon, 03 September 2007 10:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: fappel.innoopract.com

Hi,

as Benjamin already mentioned type ss into the console after you have
started the server. This should display a list of the bundle states. That
could help us to determine what kind problem occured. If you are using IE
deactivate the user friendly or short HTTP error messages in the internet
settings, this may provide a more meaningful problem description.

Ciao
Frank


"Hoping White" <baihaoping@gmail.com> schrieb im Newsbeitrag
news:fbeglc$3n6$1@build.eclipse.org...
>I installed rap in a seperate fold and I add the folder to the current
>target location then reload, everything is ok,No exception in the
>console,the console out put is like this:
> osgi> 2007-9-2 22:16:23 org.mortbay.http.HttpServer doStart
> ??: Version Jetty/5.1.x
> 2007-9-2 22:16:23 org.mortbay.util.Container start
> ??: Started org.mortbay.jetty.servlet.ServletHandler@3b1d04
> 2007-9-2 22:16:23 org.mortbay.util.Container start
> ??: Started HttpContext[/,/]
> 2007-9-2 22:16:23 org.mortbay.http.SocketListener start
> ??: Started SocketListener on 0.0.0.0:9090
> 2007-9-2 22:16:23 org.mortbay.util.Container start
> ??: Started org.mortbay.http.HttpServer@8c1dd9
>
> "Benjamin Muskalla" <bmuskalla@innoopract.com>
> ??????:fbeasu$phf$1@build.eclipse.org...
>> Hi,
>>
>> did you install the RAP target on top of your existing Eclipse
>> installation or in a separate folder?
>>
>> You could start the OSGi launch config with -console and -consolelog to
>> see if there are any exceptions. Additionally you can use the "ss"
>> command in the OSGi console to determinate if all bundles were loaded
>> correctly.
>>
>> Greets
>> Benny
>>
>> Hoping White wrote:
>>> thanks for reply, I made a mistake, it's a http 404 error.
>>> My envioronment is eclipse 3.3 plus rap milestone 6.
>>> And I just import the plugin "org.eclipse.rap.demo" as source project,
>>> then run it as osgi framework.It seem all right for the console output,
>>> but when I visit by http://localhost:9090/rap I got a http 404 error!
>>> "Benjamin Muskalla" <bmuskalla@innoopract.com>
>>> ??????:fbcmfu$unh$2@build.eclipse.org...
>>>> Hi!
>>>>
>>>> We're really sorry to have no real documentation yet. For the first
>>>> try, see http://www.eclipse.org/rap/gettingstarted.php.
>>>>
>>>> If you've still problems with the HTTP 400 Error code, just tell us
>>>> what you did and maybe we can find the problem together.
>>>>
>>>> So long
>>>> Benny
>>>>
>>>> Hoping White wrote:
>>>>> Hello everyone,I am new to rap, is there any document for me to get
>>>>> in? Is there any document introducing how to do it step by step? By
>>>>> the way, I have tried the rap demo, but I got a Http 400 ERROR, what's
>>>>> this about? Thanks very much!
>>>
>
Re: any document for newbie? [message #44716 is a reply to message #44556] Mon, 03 September 2007 13:57 Go to previous messageGo to next message
Hoping White is currently offline Hoping WhiteFriend
Messages: 71
Registered: July 2009
Member
Hello,this is result of "ss":
Framework is launched.

id State Bundle
0 ACTIVE org.eclipse.osgi_3.3.0.v20070530
1 ACTIVE org.eclipse.equinox.http.servlet_1.0.0.20070817-1525
2 ACTIVE org.eclipse.core.expressions_3.3.0.v20070606-0010
3 ACTIVE org.eclipse.equinox.preferences_3.2.100.v20070522
4 ACTIVE org.eclipse.core.jobs_3.3.0.v20070423
5 ACTIVE org.eclipse.rap.core.databinding.beans_1.0.0.20070817-1525
6 ACTIVE org.eclipse.osgi.services_3.1.200.v20070531
8 ACTIVE org.eclipse.rap.demo_1.0.0.20070817-1525
9 ACTIVE org.eclipse.equinox.http.registry_1.0.0.v20070608
10 ACTIVE org.eclipse.rap.jface_1.0.0.20070817-1525
11 ACTIVE org.apache.commons.logging_1.0.4.20070817-1525
12 ACTIVE org.apache.commons.logging_1.0.4.v200706111724
13 INSTALLED org.eclipse.core.expressions_3.3.0.v20070531-1300
14 ACTIVE org.eclipse.equinox.registry_3.3.0.v20070522
15 ACTIVE org.eclipse.rap.ui.workbench_1.0.0.20070817-1525
16 ACTIVE org.eclipse.rap.demo.databinding_1.0.0.20070817-1525
17 ACTIVE org.eclipse.rap.rwt_1.0.0.20070817-1525
18 ACTIVE org.eclipse.equinox.common_3.3.0.v20070426
19 ACTIVE org.eclipse.core.runtime_3.3.100.v20070530
20 ACTIVE org.mortbay.jetty_5.1.11.v200706111724
21 ACTIVE org.eclipse.rap.ui_1.0.0.20070817-1525
23 ACTIVE org.mortbay.jetty_5.1.11.20070817-1525
24 ACTIVE javax.servlet_2.4.0.20070817-1525
25 ACTIVE org.eclipse.rap.core.databinding_1.0.0.20070817-1525
26 ACTIVE org.eclipse.equinox.http.servlet_1.0.0.v20070606
27 INSTALLED org.eclipse.equinox.http.registry_1.0.0.20070817-1525
28 ACTIVE org.eclipse.rap.jface.databinding_1.0.0.20070817-1525
29 ACTIVE org.eclipse.equinox.http.jetty_1.0.0.v20070607
30 ACTIVE org.eclipse.core.commands_3.3.0.I20070605-0010
32 ACTIVE javax.servlet_2.4.0.v200706111738
33 ACTIVE org.eclipse.core.commands_3.3.0.I20070523-1500
35 ACTIVE org.eclipse.osgi.services_3.1.200.v20070605
36 ACTIVE org.eclipse.core.contenttype_3.2.100.v20070319
37 INSTALLED org.eclipse.equinox.app_1.0.0.v20070423
38 ACTIVE org.eclipse.equinox.app_1.0.0.v20070606
40 INSTALLED org.eclipse.equinox.http.jetty_1.0.0.20070817-1525
when go to http://localhost:9090/rap got this
HTTP ERROR: 404
ProxyServlet: /rapRequestURI=/rap

Powered by Jetty://

and No other information!

Thanks very much.

Oh, by the way, my broswer is IE7 ,is that possible something to do with it?


"Frank Appel" <fappel@innoopract.com> д
Re: any document for newbie? [message #44767 is a reply to message #44716] Mon, 03 September 2007 14:40 Go to previous messageGo to next message
Hoping White is currently offline Hoping WhiteFriend
Messages: 71
Registered: July 2009
Member
Thanks for all the reply and helps,I think I got the problem,where I
misunderstood about the Target Platform,I add the platform with the eclipse
platform, so some of the plugins duplacated, so the problem came out.
Thanks for Frank Appel,I just got the idea to see the log in
workspace\.metadata\.plugins\org.eclipse.pde.core\Rich AJAX Platform
Demo,and finally got the problem,thanks again for all the reply.And this
whole project is fantabulous!
"Hoping White" <baihaoping@gmail.com> д
Re: any document for newbie? [message #44786 is a reply to message #44716] Mon, 03 September 2007 14:44 Go to previous message
Eclipse UserFriend
Originally posted by: fappel.innoopract.com

Hi,

for some reasons your launch loads different versions of the same bundles on
startup. For example org.eclipse.equinox.app exists twice - the state of one
version is ACTIVE and the one of the other INSTALLED only. This will
probably cause the problem. You may open the Run Dialog (Run -> Open Run
Dialog), select the launch configuration and goto the tab named Bundles.
Ensure that only one version of each bundle is checked, I would guess the
newest version of each should do.

Ciao
Frank

"Hoping White" <baihaoping@gmail.com> schrieb im Newsbeitrag
news:fbh3su$off$1@build.eclipse.org...
> Hello,this is result of "ss":
> Framework is launched.
>
> id State Bundle
> 0 ACTIVE org.eclipse.osgi_3.3.0.v20070530
> 1 ACTIVE org.eclipse.equinox.http.servlet_1.0.0.20070817-1525
> 2 ACTIVE org.eclipse.core.expressions_3.3.0.v20070606-0010
> 3 ACTIVE org.eclipse.equinox.preferences_3.2.100.v20070522
> 4 ACTIVE org.eclipse.core.jobs_3.3.0.v20070423
> 5 ACTIVE org.eclipse.rap.core.databinding.beans_1.0.0.20070817-1525
> 6 ACTIVE org.eclipse.osgi.services_3.1.200.v20070531
> 8 ACTIVE org.eclipse.rap.demo_1.0.0.20070817-1525
> 9 ACTIVE org.eclipse.equinox.http.registry_1.0.0.v20070608
> 10 ACTIVE org.eclipse.rap.jface_1.0.0.20070817-1525
> 11 ACTIVE org.apache.commons.logging_1.0.4.20070817-1525
> 12 ACTIVE org.apache.commons.logging_1.0.4.v200706111724
> 13 INSTALLED org.eclipse.core.expressions_3.3.0.v20070531-1300
> 14 ACTIVE org.eclipse.equinox.registry_3.3.0.v20070522
> 15 ACTIVE org.eclipse.rap.ui.workbench_1.0.0.20070817-1525
> 16 ACTIVE org.eclipse.rap.demo.databinding_1.0.0.20070817-1525
> 17 ACTIVE org.eclipse.rap.rwt_1.0.0.20070817-1525
> 18 ACTIVE org.eclipse.equinox.common_3.3.0.v20070426
> 19 ACTIVE org.eclipse.core.runtime_3.3.100.v20070530
> 20 ACTIVE org.mortbay.jetty_5.1.11.v200706111724
> 21 ACTIVE org.eclipse.rap.ui_1.0.0.20070817-1525
> 23 ACTIVE org.mortbay.jetty_5.1.11.20070817-1525
> 24 ACTIVE javax.servlet_2.4.0.20070817-1525
> 25 ACTIVE org.eclipse.rap.core.databinding_1.0.0.20070817-1525
> 26 ACTIVE org.eclipse.equinox.http.servlet_1.0.0.v20070606
> 27 INSTALLED org.eclipse.equinox.http.registry_1.0.0.20070817-1525
> 28 ACTIVE org.eclipse.rap.jface.databinding_1.0.0.20070817-1525
> 29 ACTIVE org.eclipse.equinox.http.jetty_1.0.0.v20070607
> 30 ACTIVE org.eclipse.core.commands_3.3.0.I20070605-0010
> 32 ACTIVE javax.servlet_2.4.0.v200706111738
> 33 ACTIVE org.eclipse.core.commands_3.3.0.I20070523-1500
> 35 ACTIVE org.eclipse.osgi.services_3.1.200.v20070605
> 36 ACTIVE org.eclipse.core.contenttype_3.2.100.v20070319
> 37 INSTALLED org.eclipse.equinox.app_1.0.0.v20070423
> 38 ACTIVE org.eclipse.equinox.app_1.0.0.v20070606
> 40 INSTALLED org.eclipse.equinox.http.jetty_1.0.0.20070817-1525
> when go to http://localhost:9090/rap got this
> HTTP ERROR: 404
> ProxyServlet: /rapRequestURI=/rap
>
> Powered by Jetty://
>
> and No other information!
>
> Thanks very much.
>
> Oh, by the way, my broswer is IE7 ,is that possible something to do with
> it?
>
>
> "Frank Appel" <fappel@innoopract.com>
> д
Previous Topic:Javadoc and tutorials for RAP
Next Topic:drag / drop
Goto Forum:
  


Current Time: Fri Apr 19 11:43:58 GMT 2024

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

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

Back to the top