|
Re: WebSphere deployment [message #113344 is a reply to message #113294] |
Mon, 24 November 2008 19:32 |
Eclipse User |
|
|
|
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 #113493 is a reply to message #113379] |
Wed, 26 November 2008 08:12 |
Eclipse User |
|
|
|
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 #114973 is a reply to message #114898] |
Tue, 09 December 2008 11:43 |
Eclipse User |
|
|
|
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 #115198 is a reply to message #115189] |
Wed, 10 December 2008 08:56 |
Eclipse User |
|
|
|
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()
>>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04980 seconds