If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Bypassing gateway to be like Express, but experiencing WebDav issue

Started by bpetty, 08 Dec 2010 04:56:43 PM

Previous topic - Next topic

bpetty

I am bypassing the gateway and hitting the dispatcher directly.  I believe this is how Cognos Express works.  I am trying to get WebDav enabled on Cognos's TomCat server and I am running into some problems.  I have edited the "c8\webapps\p2pd\WEB-INF\web.xml" file to add the following lines:
<!-- Add WebDav Support for icons -->
<servlet>
<servlet-name>webdav</servlet-name>
<servlet-class>org.apache.catalina.servlets.WebdavServlet</servlet-class>
<init-param>
<param-name>debug</param-name>
<param-value>0</param-value>
</init-param>
<init-param>
<param-name>listings</param-name>
<param-value>true</param-value>
</init-param>

<!-- The following for read-write access -->
<init-param>
<param-name>readonly</param-name>
<param-value>false</param-value>
</init-param>
</servlet>

<servlet-mapping>
<servlet-name>webdav</servlet-name>
<url-pattern>/samples/images/*</url-pattern>
</servlet-mapping>


When I go to http://myserver:9300/p2pd/samples I get a 501 PROPFIND error.  Expected since I didn't add that directory for WebDav.
When I go to http://pettyb-future:9300/p2pd/samples/images I get this error:
"There were no images or folders returned for this request.  This might be because WebDav is not enabled for this location"

I have a number of .png files in that folder.  It did work when I used a gateway and setup IIS with WebDav.
Any thoughts?

bpetty

After talking to Cognos support they said this is a known issue and they are working on an enhancement: COGCQ00268387

If I get any further details I will list them here.  For example, if it will work with a newer version of Tomcat.