Previewing the Image Issue

jponnu
edited April 10, 2019 in TeamSite #1

Hi,

I am using TeamSite 16.4 (Windows 2012R2) with Apache (default)

Able upload & Download image from My Computer, and can see the Image in Assets->Media\Sites\AuraMart Mobile. But When I try open this image i am getting broken image only. When I try to open the Image URL I am getting below URL in the addressbar.

http:///iw/cci/meta/no-injection/iw-mount/default/main/aura-mart-mobile/WORKAREA/shared/sites/AuraMart Mobile/fern-free-wallpaper-frond-1226302.jpg

I could see below entry in the access.log. However, In mount "Y" Drive I could see this file. Please advise whether MediaBean & MediaManagement both should install & configure to display the images on Site? Because, none of the images are appearing on AuroMart Site while previewing

[10/Apr/2019:09:08:09 +0300] "GET /iw/cci/meta/no-injection/iw-mount/default/main/aura-mart-mobile/WORKAREA/shared/sites/AuraMart%20Mobile/fern-free-wallpaper-frond-1226302.jpg HTTP/1.1" 404 678 2 Administrator

Thanks

Comments

  • No OTMM nor MB are required. Though they will be happy to sell you them.

    When you preview, TS uses the embedded JBOSS and system Apache/IIS.

    There will be a redirect to http://server:81/iw-mount/default.......jpg

    Points to check,

    1. I assume you removed your system name from the URL you posted, or was the URL really http:///iw/...

    2. Open http://server:81/iw-mount in a browser, if that fails, either Apache/IIS is not running (start it) or the virtual directory is not configured (do it)

    3. If it is running, traverse down and see if you can find the image. Sometimes private directories/branches/workareas do not allow the webserver access and you will see. You can allow access to the webserver process user.
  • Hi Andy Thanks for the details.

    The URL is
    localhost:80/iw/cci/meta/no-injection/iw-mount/default/main/aura-mart-mobile/WORKAREA/shared/sites/AuraMart Mobile/fern-free-wallpaper-frond-1226302.jpg

    I have installed Apache only (During the teamsite Installation bydefault it was installed). And I could see this apache services in Window Services & Its running on Port 80. Should I seperately install IIS to configure it for iw-mount?
    I configured the directory & Alias on Apache Http but still its not working. The Port 81 is not accessible. Please assist.
    Thanks

  • When you install TS, it installs APache (called iw-webd) That is used for TS and NOT for preview.

    You need an external web server, either a separate Apache or IIS. Use whichever your external runtime servers use.

    Configure that to run on port 81, there are instructions in the installation manual about how to configure an external web server. You will set up the iw-mount virtual directory. Also in TeamSite/etc/iw.cfg you will need to change the external webserver from port 81 to 80. Then restart TS UI, with your external web server running

  • Hi Andy,
    I executed below script manually to configure IIS (on WINDOWS 2012 R2) to run with Teamsite.

    c:/interwoven/teamsite/iw-perl/bin/perl.exe c:/interwoven/teamsite/install/tspostreboot.pl c:/interwoven/teamsite/ IIS

    But I below received error,
    TeamSite was not configured due to an error.
    Please check "c:\interwoven\teamsite\install\tspostreboot.log" for details.

    tspostreboot.log
    Error: Unable to determine VB script path.
    IIS auto-configuration is terminated.

    So, I tried to create site in IIS manually with below details but then also its notworking. Seems to be i have missed somanything, There is no details for Manually configure the IIS for Teamsite. It will help if you can share the steps
    Site name: iw-mount
    Application pool: DefaultAppPool
    Physical Path: Y:\
    Binding Type: http
    Binding IP address: All Unassigned
    Binding Port: 81
    Hostname:

  • Sorry but I do not have the steps for IIS. You can ask support. I assume you started IIS

    Also open a browser with http://server:81/iw-mount/ and traverse to the image you are trying to display.

    If you cannot see the image like I say, preview won't work.

TeamSite Developer Resources

  • Docker Automation

  • LiveSite Content Services (LSCS) REST API

  • Single Page Application (SPA) Modules

  • TeamSite Add-ons

If you are interested in gaining full access to the content, you can register for a My Support account here.
image
OpenText CE Products
TeamSite
APIs