Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RAP war file url
RAP war file url [message #765837] Wed, 14 December 2011 18:46 Go to next message
Kaustubh Missing name is currently offline Kaustubh Missing nameFriend
Messages: 14
Registered: November 2011
Junior Member
Hello,

I am using Eclipse RAP indigo version. I am creating a war file using war export wizard. But I am not able to access it in the browser with the war name. Earlier I used to access it using <server_name>:8080/<war_name>/view?startup=viewapp

Somehow thats not working now. Can someone tell me how to solve the issue?

-kaustubh
Re: RAP war file url [message #766168 is a reply to message #765837] Thu, 15 December 2011 10:02 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi,

if you don't find anything in the logs, you should enable the OSGi
console in the web.xml by uncommenting the -console <port> parameter.
With this setting, you can connect to the OSGi console of the running
application using telnet localhost <port>.

In the console, enter "ss" and check if all relevant bundles are started.

HTH, Ralf


--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: RAP war file url [message #766532 is a reply to message #766168] Fri, 16 December 2011 00:01 Go to previous messageGo to next message
Kaustubh Missing name is currently offline Kaustubh Missing nameFriend
Messages: 14
Registered: November 2011
Junior Member
when i entered 'ss' on the console i got a list of bundles. all of them were ACTIVE except one which was RESOLVED.

0 ACTIVE org.eclipse.osgi_3.6.2.R36x_v20110210
4 ACTIVE org.eclipse.rap.junit_1.3.2.20110216-1023
5 ACTIVE org.eclipse.core.databinding_1.3.100.I20100601-0800
6 ACTIVE org.eclipse.equinox.servletbridge_1.2.100.qualifier
7 ACTIVE org.eclipse.equinox.preferences_3.3.0.v20100503
8 ACTIVE org.eclipse.equinox.common_3.6.0.v20100503
10 ACTIVE org.eclipse.rap.design.example_1.3.2.20110216-1023
11 ACTIVE org.eclipse.rap.ui.workbench_1.3.2.20110216-1023
12 ACTIVE org.eclipse.rap.jface.databinding_1.3.2.20110216-1023
14 ACTIVE org.mortbay.jetty.util_6.1.23.v201004211559
15 ACTIVE org.eclipse.equinox.http.servlet_1.1.0.v20100503
17 ACTIVE com.ibm.icu.base_4.2.1.v20100412
20 ACTIVE org.eclipse.rap.ui.cheatsheets_1.3.2.20110216-1023
22 ACTIVE org.eclipse.rap.ui.views_1.3.2.20110216-1023
23 ACTIVE org.eclipse.core.commands_3.6.0.I20100512-1500
24 ACTIVE org.mortbay.jetty.server_6.1.23.v201004211559
25 ACTIVE org.eclipse.core.databinding.beans_1.2.100.I20100601-0800
27 ACTIVE org.eclipse.core.databinding.observable_1.3.0.I20100601-0800
28 ACTIVE org.eclipse.equinox.registry_3.5.0.v20100503
29 ACTIVE org.eclipse.core.runtime_3.6.0.v20100505
30 ACTIVE org.eclipse.rap.junit.runtime_1.3.2.20110216-1023
35 ACTIVE org.eclipse.core.contenttype_3.4.100.v20100505-1235
38 ACTIVE org.eclipse.rap.jface_1.3.2.20110216-1023
40 ACTIVE org.junit_3.8.2.v3_8_2_v20100427-1100
41 ACTIVE org.eclipse.core.jobs_3.5.1.R36x_v20100824
43 ACTIVE org.eclipse.core.expressions_3.4.200.v20100505
46 ACTIVE org.eclipse.rap.ui.forms_1.3.2.20110216-1023
47 ACTIVE org.eclipse.equinox.http.registry_1.1.1.R36x_v20101103
48 ACTIVE javax.servlet_2.5.0.v200910301333
51 ACTIVE org.eclipse.rap.rwt_1.3.2.20110216-1023
Fragments=76
52 ACTIVE org.eclipse.equinox.http.jetty_2.0.0.v20100503
56 ACTIVE org.eclipse.rap.ui_1.3.2.20110216-1023
61 ACTIVE org.eclipse.jdt.junit.runtime_3.4.200.v20100526-0800
63 ACTIVE org.eclipse.osgi.services_3.2.100.v20100503
65 ACTIVE org.eclipse.core.databinding.property_1.3.0.I20100601-0800
71 ACTIVE org.eclipse.help_3.5.0.v20100524
73 ACTIVE org.eclipse.equinox.app_1.3.1.R36x_v20100803
76 RESOLVED org.eclipse.rap.rwt.q07_1.3.2.20110216-1023
Master=51
77 ACTIVE org.eclipse.rap.demo_1.3.2.20110216-1023
79 ACTIVE org.eclipse.rap.demo.databinding_1.3.2.20110216-1023
Re: RAP war file url [message #766541 is a reply to message #766168] Fri, 16 December 2011 00:32 Go to previous messageGo to next message
Kaustubh Missing name is currently offline Kaustubh Missing nameFriend
Messages: 14
Registered: November 2011
Junior Member
i am always getting the error:

HTTP Status 404 - BridgeServlet: /application/rap
Re: RAP war file url [message #766543 is a reply to message #766168] Fri, 16 December 2011 00:33 Go to previous messageGo to next message
Kaustubh is currently offline KaustubhFriend
Messages: 16
Registered: July 2009
Junior Member
i am always getting the error:

HTTP Status 404 - BridgeServlet: /application/rap
Re: RAP war file url [message #767984 is a reply to message #766532] Mon, 19 December 2011 10:07 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Fragments remain in RESOLVED state, that's ok. But you must NOT include
the Jetty servlet container (org.mortbay.jetty*) in your war file, as
the war file itself is deployed on servlet container.

Neither should you include the javax.servlet bundle because this one is
provided by the hosting servlet container.

Did you validate the war product before creating the archive? I'm almost
sure that the war products tooling checks for this case.

And you should find something in the servlet container logs!

Ralf

--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: RAP war file url [message #768477 is a reply to message #767984] Tue, 20 December 2011 08:21 Go to previous message
Kaustubh Missing name is currently offline Kaustubh Missing nameFriend
Messages: 14
Registered: November 2011
Junior Member
Thanks Ralf. That was really helpful. I was able to find out the missing plugins equinox.servletbridge and extensionbundle were missing.

It works perfect now ! Thanks a bunch
Re: RAP war file url [message #768481 is a reply to message #767984] Tue, 20 December 2011 08:21 Go to previous message
Kaustubh is currently offline KaustubhFriend
Messages: 16
Registered: July 2009
Junior Member
Thanks Ralf. That was really helpful. I was able to find out the missing plugins equinox.servletbridge and extensionbundle were missing.

It works perfect now ! Thanks a bunch
Previous Topic:Catch Javascript Exception
Next Topic:KeyEvent management differs depending browser
Goto Forum:
  


Current Time: Sat Apr 20 00:30:47 GMT 2024

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

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

Back to the top