ILWWCM Path Problems with Remote Server
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Portal Server > ILWWCM Path Problems with Remote Server




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    ILWWCM Path Problems with Remote Server  
Keith Picthall


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-05-04 10:57 PM

Hello,

Was wondering if anyone can help me out with this problem I am having.

I have set up an ILWWCM server on server "A" and a portal server on
server "B".  Portlets on server "B" are configured to call over to
server "A" to get content from ILWWCM.  Everything works fine, except
that images do not appear (they show up as a broken image).

When I view the source code on the portal server, I notice that the path
to the image is a local call instead of a full path call to server "A"
which would work.  Does anyone know how to configure ILWWCM so that the
image path that gets passed to portal is an explicit/full path and not a
local path?  Thanks.

-Keith






[ Post a follow-up to this message ]



    Re: ILWWCM Path Problems with Remote Server  
news.software.ibm.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-05-04 10:57 PM


Path used in content is taken from setting of ilwwcm portlet's edit mode.

-James

Keith Picthall wrote:
> Hello,
>
> Was wondering if anyone can help me out with this problem I am having.
>
> I have set up an ILWWCM server on server "A" and a portal server on
> server "B".  Portlets on server "B" are configured to call over to
> server "A" to get content from ILWWCM.  Everything works fine, except
> that images do not appear (they show up as a broken image).
>
> When I view the source code on the portal server, I notice that the path
> to the image is a local call instead of a full path call to server "A"
> which would work.  Does anyone know how to configure ILWWCM so that the
> image path that gets passed to portal is an explicit/full path and not a
> local path?  Thanks.
>
> -Keith
>





[ Post a follow-up to this message ]



    Re: ILWWCM Path Problems with Remote Server  
Keith Picthall


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-05-04 10:57 PM

James,

Which specific setting are you referring to?  When I open up the ILWWCM
portlet to edit it, under the Settings tab, I have:

Web Content Management Server Host:
http://mds34493.us.dci.discovery.com

Web Content Management Server Path:
/ilwwcm/connect/

A snippet of the source of the rendered page in portal (with the broken
image) shows this:

<iframe style="display:none"
src="http://mds34493.us.dci.discovery.com/ilwwcm/connect/?mod=AJEPortletModu
le&action=setAptrixCookie& AptrixSessionCookie=JSESSIONID=0000wiYCs
vDW1GY9sZ3
PGTTomnz:-1"></iframe>

<span class="oTitle">Test Title</span><br><br><IMG
SRC="/ilwwcm/resources/image/468000042b54fc08/testimage.jpg"
HEIGHT="140" BORDER="0" WIDTH="219" ><br><br>Test Content<br><br><a
href="http://www.discovery.com/" target="_blank">> Test Link</a>


You will notice that the iFrame reference is fine as it is an explicit
call out to the remote ILWWCM server (mds34493). Unfortunately, the
image reference is relative when I need it to be explicit. If I change
either of the two settings above, the portlet does not render as the
iFrame call gets hosed.  The portlet expects the ILWWCM server to be
local else it would not just put out a local reference to the image. If
there is something in the portlet edit mode that you can edit to get
around this, I am obviously missing it.  If you could provide a bit more
detail to you initial response, that would be of great help.  Thanks.

-Keith


news.software.ibm.com wrote:[vbcol=seagreen]
>
> Path used in content is taken from setting of ilwwcm portlet's edit mode.
>
> -James
>
> Keith Picthall wrote:
> 






[ Post a follow-up to this message ]



    Re: ILWWCM Path Problems with Remote Server  
Keith Picthall


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-05-04 10:57 PM

James,

Never mind. I just figured it out.

On the content portlet, under the "Links" tab, I had set the "Receive
Links From" variable to "None".  By switching it to "This portlet" or
"Other portlets and this portlet" the image appears.  A view of the
source code shows that the image path is now explicitly defined under
this setting.

So the lesson learned here is to make sure that the "Receive Links From"
variable is set to "This portlet" if your portlet content references an
external file like an image or PDF document.

Thanks for your help!

-Keith



Keith Picthall wrote:
> James,
>
> Which specific setting are you referring to?  When I open up the ILWWCM
> portlet to edit it, under the Settings tab, I have:
>
> Web Content Management Server Host:
> http://mds34493.us.dci.discovery.com
>
> Web Content Management Server Path:
> /ilwwcm/connect/
>
> A snippet of the source of the rendered page in portal (with the broken
> image) shows this:
>
> <iframe style="display:none"
> src="http://mds34493.us.dci.discovery.com/ilwwcm/connect/?mod=AJEPortletMo
dule&action=setAptrixCookie& AptrixSessionCookie=JSESSIONID=0000wiYCs
vDW1GY9s
Z3PGTTomnz:-1"></iframe>
>
>
> <span class="oTitle">Test Title</span><br><br><IMG
> SRC="/ilwwcm/resources/image/468000042b54fc08/testimage.jpg"
> HEIGHT="140" BORDER="0" WIDTH="219" ><br><br>Test Content<br><br><a
> href="http://www.discovery.com/" target="_blank">> Test Link</a>
>
>
> You will notice that the iFrame reference is fine as it is an explicit
> call out to the remote ILWWCM server (mds34493). Unfortunately, the
> image reference is relative when I need it to be explicit. If I change
> either of the two settings above, the portlet does not render as the
> iFrame call gets hosed.  The portlet expects the ILWWCM server to be
> local else it would not just put out a local reference to the image. If
> there is something in the portlet edit mode that you can edit to get
> around this, I am obviously missing it.  If you could provide a bit more
> detail to you initial response, that would be of great help.  Thanks.
>
> -Keith
>
>
> news.software.ibm.com wrote:
> 
>






[ Post a follow-up to this message ]



timsimon is offline     Re: Re: ILWWCM Path Problems with Remote Server  
timsimon


View Ip Address Report This Message To A Moderator Edit/Delete Message


Click Here to See the Profile for timsimon Click here to Send timsimon a Private Message Find more posts by timsimon Add timsimon to your buddy list
 
09-03-04 03:56 PM

quote:
Originally posted by Keith Picthall James, Never mind. I just figured it out. On the content portlet, under the "Links" tab, I had set the "Receive Links From" variable to "None". By switching it to "This portlet" or "Other portlets and this portlet" the image appears. A view of the source code shows that the image path is now explicitly defined under this setting. So the lesson learned here is to make sure that the "Receive Links From" variable is set to "This portlet" if your portlet content references an external file like an image or PDF document. Thanks for your help! -Keith Keith Picthall wrote: > James, > > Which specific setting are you referring to? When I open up the ILWWCM > portlet to edit it, under the Settings tab, I have: > > Web Content Management Server Host: > http://mds34493.us.dci.discovery.com > > Web Content Management Server Path: > /ilwwcm/connect/ > > A snippet of the source of the rendered page in portal (with the broken > image) shows this: > > <iframe style="display:none" > src="http://mds34493.us.dci.discovery.com/ilwwcm/connect/?mod=AJEPortletMo dule&action=setAptrixCookie& AptrixSessionCookie=JSESSIONID=0000wiYCs vDW1GY9s Z3PGTTomnz:-1"></iframe> > > > <span class="oTitle">Test Title</span><br><br><IMG > SRC="/ilwwcm/resources/image/468000042b54fc08/testimage.jpg" > HEIGHT="140" BORDER="0" WIDTH="219" ><br><br>Test Content<br><br><a > href="http://www.discovery.com/" target="_blank">> Test Link</a> > > > You will notice that the iFrame reference is fine as it is an explicit > call out to the remote ILWWCM server (mds34493). Unfortunately, the > image reference is relative when I need it to be explicit. If I change > either of the two settings above, the portlet does not render as the > iFrame call gets hosed. The portlet expects the ILWWCM server to be > local else it would not just put out a local reference to the image. If > there is something in the portlet edit mode that you can edit to get > around this, I am obviously missing it. If you could provide a bit more > detail to you initial response, that would be of great help. Thanks. > > -Keith > > > news.software.ibm.com wrote: > >
Keith, We have a slightly different situation here for aptix. The content links work but the session cookie link does not. The session link on the browser is <iframe style="display:none" src="http://10.194.163.246:9084/ilwwcm/connect/ ?mod=AJEPortletModule&action=setAptrixCookie&AptrixSessionCookie=JSESSIONID= 0000mrmPEgQYF-YdStNhM_3rdEu:-1"></iframe> where as the link to the content is <p align="left"> <a class=contrastHeading href='/wps/myportal/!ut/p/_s.7_0_A /7_0_AAM/.cmd/ad/.ar/1345295282/.c/6_0_32N/.ce/7_0_AAP/.p/5_0_3CM/.d/0?Aptri xContext=http://10.194.163.246:9084/ilwwcm/connect/Public+Portal/MSF+Home/Po sition+Vacancies/Accountant'> The problem with the session cookie linkis that the aptix server is in a 10 dot subnet and of course is not accessible directly from the internet. Do you have any idea on how we might solve this? Thanks for any info on this, Tim




[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:16 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register