WebSphere Portal Server - Deploying as ear for generating servlet url and sharing application

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > August 2007 > Deploying as ear for generating servlet url and sharing application





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Deploying as ear for generating servlet url and sharing application

2007-08-17, 1:21 am

Newbie question.

I need to generate a servlet url from my portlet and that servlet will render a remote image (when fired by browser with the img tag) and therfore will require access to application context that the original portlet was running under (I guess I can do thi
s as within all the portal server it is the servlet engine running). I tried generating a URL from within a portlet (war) but was generating a big hash kind of base url and my serlet was not firing.

Therfore I am trying to deploy this war as an ear file (ear file has the war file within it). Then I can give it a context url and maybe that will work and I can maybe get a handle to the application context.

The problem is that when I deploy this ear file in WAS I do not see it in Websphere_Portal server and therfore cannot install & run my portlet. There is no way to install a ear on the portal server instance. I am using WebSphere portal server 6.0.1.

Can anyone tell me how would I install the ear so that portal server can see the war file?

Things are little fuzzy at the moment.

Thanks in advance.

Kishan

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com