Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » WebSphere deployment
WebSphere deployment [message #113294] Mon, 24 November 2008 18:45 Go to next message
Igor Pavlenko is currently offline Igor PavlenkoFriend
Messages: 24
Registered: July 2009
Junior Member
Hello

I have a problem with WebSphere. I can made a war-file as described in
http://rapblog.innoopract.com/2007/12/rap-deployment-part-2- deploying-your.html
but I also have to debug (not only deploy) my application on WebSphere
6.1. I tried to do this with RAD 7.5. But I had a problem.

I made this:

1) I made a web-project.

Two projects: web-project and ear-project with description for my
web-project were created by wizard.

2) I copied the same WEB-INF folder that I used in my war-file to my
web-project
3) I tried to debug.

I have an Error 404: ProxyServlet at this point

4) After that I deleted servletbridge.jar folder from lib folder and
copied it's sources to src folder of my web-project.
5) I tried to debug again.

I saw that no osgi budles loaded.

6) I also tried to specify commandline argument in my web.xml:

<init-param>
<param-name>commandline</param-name>
<param-value>-console</param-value>
</init-param>

But I can see "osgi>" in my console only once.

What can I do?

Thank you, Igor
Re: WebSphere deployment [message #113344 is a reply to message #113294] Mon, 24 November 2008 19:32 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

Igor,

to debug your application I would recommend to launch it from within
Eclipse (with RAP Tooling installed).

HTH
Rüdiger

Igor Pavlenko wrote:
> Hello
>
> I have a problem with WebSphere. I can made a war-file as described in
> http://rapblog.innoopract.com/2007/12/rap-deployment-part-2- deploying-your.html
> but I also have to debug (not only deploy) my application on WebSphere
> 6.1. I tried to do this with RAD 7.5. But I had a problem.
>
> I made this:
>
> 1) I made a web-project.
>
> Two projects: web-project and ear-project with description for my
> web-project were created by wizard.
>
> 2) I copied the same WEB-INF folder that I used in my war-file to my
> web-project
> 3) I tried to debug.
>
> I have an Error 404: ProxyServlet at this point
>
> 4) After that I deleted servletbridge.jar folder from lib folder and
> copied it's sources to src folder of my web-project.
> 5) I tried to debug again.
>
> I saw that no osgi budles loaded.
>
> 6) I also tried to specify commandline argument in my web.xml:
>
> <init-param>
> <param-name>commandline</param-name>
> <param-value>-console</param-value>
> </init-param>
>
> But I can see "osgi>" in my console only once.
>
> What can I do?
>
> Thank you, Igor
>
Re: WebSphere deployment [message #113379 is a reply to message #113344] Tue, 25 November 2008 05:30 Go to previous messageGo to next message
Igor Pavlenko is currently offline Igor PavlenkoFriend
Messages: 24
Registered: July 2009
Junior Member
Yes. It is right. But I also have to fix one bug that is reproduceable
only on WebSphere. So I have to debug my application on it. We have to
support WebApplication as a platform and it is not my decision.

Igor
Re: WebSphere deployment [message #113493 is a reply to message #113379] Wed, 26 November 2008 08:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

sorry Igor, I can't help a lot with this. I have no idea about
WebSphere.
Did you ensure that that war runs at all? E.g. did you try to deploy
it on Tomcat?


Igor Pavlenko wrote:
> Yes. It is right. But I also have to fix one bug that is reproduceable
> only on WebSphere. So I have to debug my application on it. We have to
> support WebApplication as a platform and it is not my decision.
>
> Igor
>
Re: WebSphere deployment [message #113835 is a reply to message #113493] Thu, 27 November 2008 13:38 Go to previous messageGo to next message
Igor Pavlenko is currently offline Igor PavlenkoFriend
Messages: 24
Registered: July 2009
Junior Member
Yes, the war file can be deployed and runned on my external WebSphere 6.1
installation. But I cannot run this war file on the WebSphere 6.1 runtime
that is provided with RAD7.5. But I still think that problem is in my
configuration.
Re: WebSphere deployment [message #114898 is a reply to message #113493] Tue, 09 December 2008 09:21 Go to previous messageGo to next message
Boris Stepanov is currently offline Boris StepanovFriend
Messages: 68
Registered: July 2009
Member
Hi, Rüdiger!

I've deployed my application to WebSphere without problems, but I see
another problem - I can't stop application after using application url
in browser, so I think that problem appear when workbench is initialized.

Do you have any ideas how to fix it?

Thanks.

>
> sorry Igor, I can't help a lot with this. I have no idea about WebSphere.
> Did you ensure that that war runs at all? E.g. did you try to deploy it
> on Tomcat?
>
>
> Igor Pavlenko wrote:
>> Yes. It is right. But I also have to fix one bug that is reproduceable
>> only on WebSphere. So I have to debug my application on it. We have to
>> support WebApplication as a platform and it is not my decision.
>>
>> Igor
>>
Re: WebSphere deployment [message #114973 is a reply to message #114898] Tue, 09 December 2008 11:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

Boris Stepanov wrote:
> Hi, Rüdiger!
>
> I've deployed my application to WebSphere without problems, but I see
> another problem - I can't stop application after using application url
> in browser, so I think that problem appear when workbench is initialized.
>
> Do you have any ideas how to fix it?
first thing I would do is to make sure that the code uses
UICallback#activate() in pair with #deactivate()

>
> Thanks.
>
>>
>> sorry Igor, I can't help a lot with this. I have no idea about WebSphere.
>> Did you ensure that that war runs at all? E.g. did you try to deploy
>> it on Tomcat?
>>
>>
>> Igor Pavlenko wrote:
>>> Yes. It is right. But I also have to fix one bug that is
>>> reproduceable only on WebSphere. So I have to debug my application on
>>> it. We have to support WebApplication as a platform and it is not my
>>> decision.
>>>
>>> Igor
>>>
Re: WebSphere deployment [message #115189 is a reply to message #114973] Wed, 10 December 2008 08:31 Go to previous messageGo to next message
Boris Stepanov is currently offline Boris StepanovFriend
Messages: 68
Registered: July 2009
Member
Hi Rüdiger,

Thanks for advice, I did it as you described in one of your posts using
SessionStoreListener and problem is fixed now. I use
UICallback.activate() in WorkbenchWindowAdvisor.preWindowOpen()
(SessionStoreListener is added there) and UICallback.deactivate() in
WorkbenchWindowAdvisor.postWindowClose(). I'm not sure that use correct
places for that, I need callback ability in full application, where is
the best place for this task?

Thanks.

> Boris Stepanov wrote:
>> Hi, Rüdiger!
>>
>> I've deployed my application to WebSphere without problems, but I see
>> another problem - I can't stop application after using application url
>> in browser, so I think that problem appear when workbench is initialized.
>>
>> Do you have any ideas how to fix it?
> first thing I would do is to make sure that the code uses
> UICallback#activate() in pair with #deactivate()
>
Re: WebSphere deployment [message #115198 is a reply to message #115189] Wed, 10 December 2008 08:56 Go to previous message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

Boris,

note that if you are using the Jobs API it shouldn't be necessary to
explicitly call activate()/deactivate(). The RAP adaption of the
Jobs infrastructure does this for you.

HTH
Rüdiger


Boris Stepanov wrote:
> Hi Rüdiger,
>
> Thanks for advice, I did it as you described in one of your posts using
> SessionStoreListener and problem is fixed now. I use
> UICallback.activate() in WorkbenchWindowAdvisor.preWindowOpen()
> (SessionStoreListener is added there) and UICallback.deactivate() in
> WorkbenchWindowAdvisor.postWindowClose(). I'm not sure that use correct
> places for that, I need callback ability in full application, where is
> the best place for this task?
>
> Thanks.
>
>> Boris Stepanov wrote:
>>> Hi, Rüdiger!
>>>
>>> I've deployed my application to WebSphere without problems, but I see
>>> another problem - I can't stop application after using application
>>> url in browser, so I think that problem appear when workbench is
>>> initialized.
>>>
>>> Do you have any ideas how to fix it?
>> first thing I would do is to make sure that the code uses
>> UICallback#activate() in pair with #deactivate()
>>
>
Previous Topic:ImageDescriptor createImage throws a NullPointerException
Next Topic:Dynamic JFree Charts in Rap
Goto Forum:
  


Current Time: Thu Feb 09 04:02:29 GMT 2023

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

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

Back to the top