Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Redeploy RAP-Application on WebSphere and JBoss fails(Can not redeploy EAR with RAP-Application)
icon5.gif  Redeploy RAP-Application on WebSphere and JBoss fails [message #500134] Wed, 25 November 2009 07:33 Go to next message
Stephan Strittmatter is currently offline Stephan StrittmatterFriend
Messages: 11
Registered: July 2009
Junior Member
First I thought it is a RAP problem, but I think it is a problem of servletbridge.

Redeploy of a RAP-application does not delete the prevous versions of libs.
See also the post on RAP-board:
http:// www.eclipse.org/forums/index.php?t=msg&th=158246&sta rt=0&S=46f550b125f6c7af64909ca778be880c

Does anybody know a solution/workaround?

OSGi-newbee will thank for support!
Re: Redeploy RAP-Application on WebSphere and JBoss fails [message #500252 is a reply to message #500134] Wed, 25 November 2009 13:45 Go to previous messageGo to next message
Gunnar Wagenknecht is currently offline Gunnar WagenknechtFriend
Messages: 486
Registered: July 2009
Location: San Francisco ✈ Germany
Senior Member

Stephan Strittmatter schrieb:
> First I thought it is a RAP problem, but I think it is a problem of servletbridge.
>
> Redeploy of a RAP-application does not delete the prevous versions of libs.

Does this happen on Windows only or on other platforms as well?

-Gunnar

--
Gunnar Wagenknecht
gunnar@wagenknecht.org
http://wagenknecht.org/
Re: Redeploy RAP-Application on WebSphere and JBoss fails [message #500404 is a reply to message #500134] Wed, 25 November 2009 22:30 Go to previous messageGo to next message
Simon Kaegi is currently offline Simon KaegiFriend
Messages: 381
Registered: July 2009
Senior Member
For now, try:

http://yourhost:8080/yourcontext/sp_redeploy
You might have to enable the sp_* commands in the web.xml as typically these
are disabled in a production app. This will clean out the context temp dir
and "redeploy" the contents of your webapp.

HTH
-Simon

"Stephan Strittmatter" <Stephan.Strittmatter@gmx.de> wrote in message
news:heimk2$rpj$1@build.eclipse.org...
> First I thought it is a RAP problem, but I think it is a problem of
> servletbridge.
>
> Redeploy of a RAP-application does not delete the prevous versions of
> libs. See also the post on RAP-board:
> http://www.eclipse.org/forums/index.php?t=msg&th=158246& amp;start=0&S=46f550b125f6c7af64909ca778be880c
>
> Does anybody know a solution/workaround?
>
> OSGi-newbee will thank for support!
Re: Redeploy RAP-Application on WebSphere and JBoss fails [message #500489 is a reply to message #500252] Thu, 26 November 2009 10:54 Go to previous messageGo to next message
Stephan Strittmatter is currently offline Stephan StrittmatterFriend
Messages: 11
Registered: July 2009
Junior Member
Gunnar Wagenknecht wrote on Wed, 25 November 2009 08:45
Stephan Strittmatter schrieb:
> First I thought it is a RAP problem, but I think it is a problem of servletbridge.
>
> Redeploy of a RAP-application does not delete the prevous versions of libs.

Does this happen on Windows only or on other platforms as well?


It is on windows. Not tried on other platforms.

[Updated on: Thu, 26 November 2009 11:20]

Report message to a moderator

Re: Redeploy RAP-Application on WebSphere and JBoss fails [message #500492 is a reply to message #500404] Thu, 26 November 2009 11:49 Go to previous messageGo to next message
Stephan Strittmatter is currently offline Stephan StrittmatterFriend
Messages: 11
Registered: July 2009
Junior Member
Simon Kaegi wrote on Wed, 25 November 2009 17:30
For now, try:

http://yourhost:8080/yourcontext/sp_redeploy
You might have to enable the sp_* commands in the web.xml as typically these are disabled in a production app. This will clean out the context temp dir and "redeploy" the contents of your webapp.

HTH
-Simon

Hi Simon,

what do you mean with sp_* commands? Could you give me an hint?

THX,

Stephan
Re: Redeploy RAP-Application on WebSphere and JBoss fails [message #500528 is a reply to message #500492] Thu, 26 November 2009 14:27 Go to previous messageGo to next message
Simon Kaegi is currently offline Simon KaegiFriend
Messages: 381
Registered: July 2009
Senior Member
In you web.xml there is a boolean servlent init-param called
"enableFrameworkControls". When enabled these are special low level commands
that allow you to have some degree of low-level control of the state of the
equinox framework embedded in your web application. I would suggest that
these commands should only be enabled during development or when the
application is being redeployed in some fashion and this sort of low level
manipulation of the web application is required.

The commands are accessible by performing an HTTP GET where the path info
after the context path is one of the following sp_* commands.

For example http://localhost:8080/rap/sp_redeploy

/**

* serviceFrameworkControls currently supports the following commands
(identified by the request's pathinfo)

* sp_deploy - Copies the contents of the Equinox application to the install
area

* sp_undeploy - Removes the copy of the Equinox application from the install
area

* sp_redeploy - Resets the platform (e.g. stops, undeploys, deploys, starts)

* sp_start - Starts a deployed platform

* sp_stop - Stops the platform

*/

HTH
-Simon


"Stephan Strittmatter" <Stephan.Strittmatter@gmx.de> wrote in message
news:helq10$d1v$1@build.eclipse.org...
> Simon Kaegi wrote on Wed, 25 November 2009 17:30
>> For now, try:
>>
>> http://yourhost:8080/yourcontext/sp_redeploy
>> You might have to enable the sp_* commands in the web.xml as typically
>> these are disabled in a production app. This will clean out the context
>> temp dir and "redeploy" the contents of your webapp.
>>
>> HTH
>> -Simon
>
> Hi Simon,
>
> what do you mean with sp_* commands? Could you give me an hint?
>
> THX,
>
> Stephan
icon2.gif  Re: Redeploy RAP-Application on WebSphere and JBoss fails [message #501147 is a reply to message #500528] Tue, 01 December 2009 10:07 Go to previous messageGo to next message
Stephan Strittmatter is currently offline Stephan StrittmatterFriend
Messages: 11
Registered: July 2009
Junior Member
Hi Simon,

many thanks for this hint!

It works partly, which means:
If no user has opend any session of the web-app I can redeploy once. Otherwise I get following Error:
Error 500: org.eclipse.rwt.internal.service.SessionStoreImpl incompatible with org.eclipse.rwt.service.ISessionStore

Re: Redeploy RAP-Application on WebSphere and JBoss fails [message #1077433 is a reply to message #500134] Thu, 01 August 2013 17:47 Go to previous message
vlad crc is currently offline vlad crcFriend
Messages: 7
Registered: August 2010
Junior Member
Hello,

We have the same problem with a RAP 2.0 appl deployed in JBoss 7.2.
Is the "sp_redeploy" workaround still valid ?
Maybe is there anything else we can do to avoid the problem, as the "sp_redeploy" is not recommended in production systems ?

Thank you and Best regards,
Vlad Craciunoiu
Previous Topic:PackageAdmin deprecated?
Next Topic:Installing fragment depending on the versions of already installed bundles
Goto Forum:
  


Current Time: Fri Apr 19 12:09:29 GMT 2024

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

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

Back to the top