WebSphere deployment [message #113294] |
Mon, 24 November 2008 13:45  |
Eclipse User |
|
|
|
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 #115198 is a reply to message #115189] |
Wed, 10 December 2008 03: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.08236 seconds