Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Deployment of rapdemo.war fails on JBoss 4.2.2.GA
Deployment of rapdemo.war fails on JBoss 4.2.2.GA [message #82659] Sun, 13 April 2008 22:38 Go to next message
Eclipse UserFriend
Originally posted by: cgan.gmx.de

Hi,

I've been having a hard time to get a rap application that I've created to
work on JBoss. In order to narrow down the problem I did the following:

1) I installed Tomcat 5.5.26 and deployed rapdemo.war. This works fine.

2) I installed JBoss 4.2.2.GA from scratch and deployed rapdemo.war. The
deployment manager shows the war as deployed. When I start the application
in the browser I get:
"HTTP Status 404 - ProxyServlet: /rapdemo/rap

------------------------------------------------------------ --------------------

type Status report

message ProxyServlet: /rapdemo/rap

description The requested resource (ProxyServlet: /rapdemo/rap) is not
available."


3. As a next step, I tried to locate the OSGI logs that were mentioned in
other threads. I could not find these logs in JBoss (nor in Tomcat for
that matter).

4. I tried to narrow down the problem in the OSGI console (in Jboss).
This is what I get:

19:03:16,218 INFO [STDOUT]
osgi>
ss
19:03:17,499 INFO [STDOUT] Framework is launched.
19:03:17,499 INFO [STDOUT] id
19:03:17,499 INFO [STDOUT]
19:03:17,499 INFO [STDOUT] State Bundle
19:03:17,499 INFO [STDOUT] 0 ACTIVE
system.bundle_3.2.2.R32x_v20070118
19:03:17,499 INFO [STDOUT] Fragments=
19:03:17,499 INFO [STDOUT] 28
19:03:17,499 INFO [STDOUT] 1 ACTIVE
org.eclipse.core.commands_3.2.0.I20060605-1400
19:03:17,499 INFO [STDOUT] 2 ACTIVE
org.eclipse.core.contenttype_3.2.0.v20060603
19:03:17,499 INFO [STDOUT] 3 ACTIVE
org.eclipse.core.jobs_3.2.0.v20060603
19:03:17,499 INFO [STDOUT] 4 ACTIVE
org.eclipse.core.runtime_3.2.0.v20060603
19:03:17,499 INFO [STDOUT] 5 ACTIVE
org.eclipse.equinox.common_3.2.0.v20060603
19:03:17,499 INFO [STDOUT] 6 ACTIVE
org.eclipse.equinox.http.registry_1.0.0.200705071244
19:03:17,499 INFO [STDOUT] 7 ACTIVE
org.eclipse.equinox.http.servletbridge_1.0.0.200705071244
19:03:17,499 INFO [STDOUT] 8 ACTIVE
org.eclipse.equinox.http.servlet_1.0.0.200705071244
19:03:17,499 INFO [STDOUT] 9 ACTIVE
org.eclipse.equinox.preferences_3.2.1.R32x_v20060717
19:03:17,499 INFO [STDOUT] 10 ACTIVE
org.eclipse.equinox.registry_3.2.1.R32x_v20060814
19:03:17,509 INFO [STDOUT] 11 ACTIVE
org.eclipse.osgi.services_3.1.100.v20060601
19:03:17,509 INFO [STDOUT] 12 INSTALLED
org.eclipse.rap.demo_1.0.0.200705071244
19:03:17,509 INFO [STDOUT] 13 INSTALLED
org.eclipse.rap.jface_1.0.0.200705071244
19:03:17,509 INFO [STDOUT] 14 INSTALLED
org.eclipse.rap.rwt_1.0.0.200705071244
19:03:17,519 INFO [STDOUT] 15 INSTALLED
org.eclipse.rap.ui.workbench_1.0.0.200705071244
19:03:17,519 INFO [STDOUT] 16 INSTALLED
org.eclipse.rap.w4t_1.0.0.200705071244
19:03:17,519 INFO [STDOUT] 17 ACTIVE
org.eclipse.update.configurator_3.2.2.R32x_v20070111
19:03:17,519 INFO [STDOUT] 28 RESOLVED
org.eclipse.equinox.servletbridge.extensionbundle_1.0.0
19:03:17,519 INFO [STDOUT] Master=0
19:03:17,519 INFO [STDOUT]
osgi>

5. I tried to find out why the following bundles were only INSTALLED:
org.eclipse.rap.demo_1.0.0.200705071244
org.eclipse.rap.jface_1.0.0.200705071244
org.eclipse.rap.rwt_1.0.0.200705071244
org.eclipse.rap.ui.workbench_1.0.0.200705071244
org.eclipse.rap.w4t_1.0.0.200705071244
These bundles are all dependant on each other (workbench cannot be started
because of rwt is missing, rwt cannot be started because w4t is missing
and so forth).
When I try to start w4t in the OSGI console I get:
osgi>
start org.eclipse.rap.w4t
19:30:55,864 INFO [STDOUT] org.osgi.framework.BundleException: The bundle
could not be resolved. Reason: Missing Constraint: Import-Package:
javax.servlet; version="[2.3.0,2.5.0)"

Any help is much appreciated!

Cheers,
Clemens
Re: Deployment of rapdemo.war fails on JBoss 4.2.2.GA [message #82679 is a reply to message #82659] Mon, 14 April 2008 03:37 Go to previous messageGo to next message
Eclipse UserFriend
Hi Clemens,

javax.servlet is normally passed by the ServletBridge to your bundles.
Do you have the servletbridge.jar in your lib-directory? You can check
the state of the ServletBridge via the "sp_test" command. See
http://www.eclipse.org/equinox/server/http_in_container.php for more
information.

Hope this helps,
Stefan.


Clemens Gantert schrieb:
> Hi,
>
> I've been having a hard time to get a rap application that I've created
> to work on JBoss. In order to narrow down the problem I did the following:
>
> 1) I installed Tomcat 5.5.26 and deployed rapdemo.war. This works fine.
>
> 2) I installed JBoss 4.2.2.GA from scratch and deployed rapdemo.war. The
> deployment manager shows the war as deployed. When I start the
> application in the browser I get:
> "HTTP Status 404 - ProxyServlet: /rapdemo/rap
>
> ------------------------------------------------------------ --------------------
>
>
> type Status report
>
> message ProxyServlet: /rapdemo/rap
>
> description The requested resource (ProxyServlet: /rapdemo/rap) is not
> available."
>
>
> 3. As a next step, I tried to locate the OSGI logs that were mentioned
> in other threads. I could not find these logs in JBoss (nor in Tomcat
> for that matter).
>
> 4. I tried to narrow down the problem in the OSGI console (in Jboss).
> This is what I get:
>
> 19:03:16,218 INFO [STDOUT]
> osgi>
> ss
> 19:03:17,499 INFO [STDOUT] Framework is launched.
> 19:03:17,499 INFO [STDOUT] id
> 19:03:17,499 INFO [STDOUT]
> 19:03:17,499 INFO [STDOUT] State Bundle
> 19:03:17,499 INFO [STDOUT] 0 ACTIVE
> system.bundle_3.2.2.R32x_v20070118
> 19:03:17,499 INFO [STDOUT] Fragments=
> 19:03:17,499 INFO [STDOUT] 28
> 19:03:17,499 INFO [STDOUT] 1 ACTIVE
> org.eclipse.core.commands_3.2.0.I20060605-1400
> 19:03:17,499 INFO [STDOUT] 2 ACTIVE
> org.eclipse.core.contenttype_3.2.0.v20060603
> 19:03:17,499 INFO [STDOUT] 3 ACTIVE
> org.eclipse.core.jobs_3.2.0.v20060603
> 19:03:17,499 INFO [STDOUT] 4 ACTIVE
> org.eclipse.core.runtime_3.2.0.v20060603
> 19:03:17,499 INFO [STDOUT] 5 ACTIVE
> org.eclipse.equinox.common_3.2.0.v20060603
> 19:03:17,499 INFO [STDOUT] 6 ACTIVE
> org.eclipse.equinox.http.registry_1.0.0.200705071244
> 19:03:17,499 INFO [STDOUT] 7 ACTIVE
> org.eclipse.equinox.http.servletbridge_1.0.0.200705071244
> 19:03:17,499 INFO [STDOUT] 8 ACTIVE
> org.eclipse.equinox.http.servlet_1.0.0.200705071244
> 19:03:17,499 INFO [STDOUT] 9 ACTIVE
> org.eclipse.equinox.preferences_3.2.1.R32x_v20060717
> 19:03:17,499 INFO [STDOUT] 10 ACTIVE
> org.eclipse.equinox.registry_3.2.1.R32x_v20060814
> 19:03:17,509 INFO [STDOUT] 11 ACTIVE
> org.eclipse.osgi.services_3.1.100.v20060601
> 19:03:17,509 INFO [STDOUT] 12 INSTALLED
> org.eclipse.rap.demo_1.0.0.200705071244
> 19:03:17,509 INFO [STDOUT] 13 INSTALLED
> org.eclipse.rap.jface_1.0.0.200705071244
> 19:03:17,509 INFO [STDOUT] 14 INSTALLED
> org.eclipse.rap.rwt_1.0.0.200705071244
> 19:03:17,519 INFO [STDOUT] 15 INSTALLED
> org.eclipse.rap.ui.workbench_1.0.0.200705071244
> 19:03:17,519 INFO [STDOUT] 16 INSTALLED
> org.eclipse.rap.w4t_1.0.0.200705071244
> 19:03:17,519 INFO [STDOUT] 17 ACTIVE
> org.eclipse.update.configurator_3.2.2.R32x_v20070111
> 19:03:17,519 INFO [STDOUT] 28 RESOLVED
> org.eclipse.equinox.servletbridge.extensionbundle_1.0.0
> 19:03:17,519 INFO [STDOUT] Master=0
> 19:03:17,519 INFO [STDOUT]
> osgi>
>
> 5. I tried to find out why the following bundles were only INSTALLED:
> org.eclipse.rap.demo_1.0.0.200705071244
> org.eclipse.rap.jface_1.0.0.200705071244
> org.eclipse.rap.rwt_1.0.0.200705071244
> org.eclipse.rap.ui.workbench_1.0.0.200705071244
> org.eclipse.rap.w4t_1.0.0.200705071244
> These bundles are all dependant on each other (workbench cannot be
> started because of rwt is missing, rwt cannot be started because w4t is
> missing and so forth).
> When I try to start w4t in the OSGI console I get:
> osgi>
> start org.eclipse.rap.w4t
> 19:30:55,864 INFO [STDOUT] org.osgi.framework.BundleException: The
> bundle could not be resolved. Reason: Missing Constraint:
> Import-Package: javax.servlet; version="[2.3.0,2.5.0)"
>
> Any help is much appreciated!
>
> Cheers,
> Clemens
>
Re: Deployment of rapdemo.war fails on JBoss 4.2.2.GA [message #82876 is a reply to message #82679] Mon, 14 April 2008 15:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cgan.gmx.de

Hello Stefan,

all I have written in my in my inital message relates to the pre-delivered
rapdemo.war (packaged in the org.eclipse.rap.demo.feature, downloaded from
eclipse CVS as described in
http://rapblog.innoopract.com/2007/12/rap-deployment-part-2- deploying-your.html).
I am not talking about my own war here.

The above rapdemo.war contains servletbridge.jar in the WEB-INF/lib folder.

Cheers,
Clemens
Re: Deployment of rapdemo.war fails on JBoss 4.2.2.GA [message #82963 is a reply to message #82876] Tue, 15 April 2008 04:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: fappel.innoopract.com

Hi,

do you know which tomcat version comes with JBoss 4.2.2.GA? I ask this
because the demo project is somewhat outdated and does not work on
containers that supports Servlet Spec 2.5.

Note that we have scheduled a task at the end of the current milestone
development stream with the goal of automatically demo builds, so that
the demo for download should be always up to date.


Ciao
Frank

-----Ursprüngliche Nachricht-----
Von: Clemens Gantert [mailto:cgan@gmx.de]
Bereitgestellt: Montag, 14. April 2008 21:42
Bereitgestellt in: eclipse.technology.rap
Unterhaltung: Deployment of rapdemo.war fails on JBoss 4.2.2.GA
Betreff: Re: Deployment of rapdemo.war fails on JBoss 4.2.2.GA


Hello Stefan,

all I have written in my in my inital message relates to the
pre-delivered rapdemo.war (packaged in the org.eclipse.rap.demo.feature,
downloaded from eclipse CVS as described in
http://rapblog.innoopract.com/2007/12/rap-deployment-part-2- deploying-yo
ur.html).
I am not talking about my own war here.

The above rapdemo.war contains servletbridge.jar in the WEB-INF/lib
folder.

Cheers,
Clemens
Re: Deployment of rapdemo.war fails on JBoss 4.2.2.GA [message #83098 is a reply to message #82963] Tue, 15 April 2008 12:41 Go to previous message
Eclipse UserFriend
Originally posted by: cgan.gmx.de

Hi,

JBoss 4.2 and higher uses Tomcat 6.0. I wasn't aware of this myself.
That's why installed Tomcat 5.5 for a cross-check because I believed this
was the version integrated with JBoss. So I guess, servlet 2.5 is
supported and that may be the root cause of the deployment problem of
rapdemo.war.

Getting rapdemo.war to work has low priority for me, now that I got the
calc example from
http://rapblog.innoopract.com/2007/12/rap-deployment-part-2- deploying-your.html
deployed on JBoss 4.2.2.
(I only got the predelivered calc.war to run, my own compilation fails to
deploy, so you might see another post pretty soon ;-) ).

Thanks,
Clemens
Previous Topic:setDefaultButton on a login shell with combo might lead to security issues?
Next Topic:Threads
Goto Forum:
  


Current Time: Sun Aug 31 01:43:57 EDT 2025

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

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

Back to the top