<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt"><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; ">Hi,</div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; "><br></div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; ">I´m trying to implement a tms service through geowebcache (running inside Geoserver2.1.2 on Linux/tomcat6)</div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; "><br></div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; ">The layer in question in fine runnning as a normal WMS geowebcache service as defined below, but the layer doesn´t print.</div><div style="font-family: 'Courier New', courier, monaco,
monospace, sans-serif; font-size: 10pt; "><br></div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; ">reading this post (<a href="http://www.mail-archive.com/users@geoext.org/msg01973.html" style="font-family: 'Times New Roman'; font-size: 16px; ">http://www.mail-archive.com/users@geoext.org/msg01973.html</a>)I thought I´d try the tms service</div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; "><br></div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; "><br></div><div style="font-family: 'Courier New', courier, monaco, monospace, sans-serif; font-size: 10pt; "><span class="Apple-tab-span" style="white-space:pre">        </span>// gwc/wms service</div><div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif" size="2"><span class="Apple-tab-span" style="white-space:pre">        
        </span>var GWC_Layer = new OpenLayers.Layer.WMS("GWC Layer", </font></div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif" size="2"><span class="Apple-tab-span" style="white-space:pre">                </span>"http://maps.zgb.de/geoserver/gwc/service/wms", {</font></div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif" size="2"> <span class="Apple-tab-span" style="white-space:pre">        </span>layers: 'zgb:rrop08_mosaic',</font></div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif" size="2"> <span class="Apple-tab-span" style="white-space:pre">        </span> <span class="Apple-tab-span" style="white-space:pre">        </span>projection: epsg900913,</font></div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif" size="2">
<span class="Apple-tab-span" style="white-space:pre">        </span> <span class="Apple-tab-span" style="white-space:pre">        </span>format: 'image/png',</font></div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif" size="2"> <span class="Apple-tab-span" style="white-space:pre">        </span>transparent: true,</font></div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif" size="2"> <span class="Apple-tab-span" style="white-space:pre">        </span>singleTile: true</font></div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif" size="2"> <span class="Apple-tab-span" style="white-space:pre">                </span>}, {'buffer': 0,</font></div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif" size="2"> <span
class="Apple-tab-span" style="white-space:pre">        </span>'opacity': 1,</font></div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif" size="2"> <span class="Apple-tab-span" style="white-space:pre">        </span>'isBaseLayer': true,</font></div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif" size="2"> <span class="Apple-tab-span" style="white-space:pre">        </span>visibility: true</font></div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif" size="2"> <span class="Apple-tab-span" style="white-space:pre">        </span>}); </font></div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif" size="2"><br></font></div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif"
size="2"><span class="Apple-tab-span" style="white-space:pre">        </span>// GWC TMS Service</font></div><div><font class="Apple-style-span" face="'Courier New', courier, monaco, monospace, sans-serif" size="2"><div><span class="Apple-tab-span" style="white-space:pre">        </span>var TMS_Layer = new OpenLayers.Layer.TMS(</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>'TMS_Layer','http://maps.zgb.de/geoserver/gwc/service/tms/',{</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>serviceVersion: '1.0.0',<span class="Apple-tab-span" style="white-space:pre">                </span><span class="Apple-tab-span" style="white-space:pre">        </span></div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>layername:'http://maps.zgb.de/geoserver/gwc/service/tms/1.0.0/zgb:rrop08_mosaic@ESPG:900913@png',</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>type:'png',</div><div><span class="Apple-tab-span"
style="white-space:pre">                        </span>visibility:true,</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>isBaseLayer: false,</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>serverResolutions:[156543.03390625, 78271.516953125, 39135.7584765625, 19567.87923828125, </div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>9783.939619140625, 4891.9698095703125, 2445.9849047851562, 1222.9924523925781, 611.4962261962891, 305.74811309814453, </div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>152.87405654907226, 76.43702827453613, 38.218514137268066, 19.109257068634033, 9.554628534317017, 4.777314267158508, </div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>2.388657133579254, 1.194328566789627, 0.5971642833948135, 0.29858214169740677]</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>}</div><div><span
class="Apple-tab-span" style="white-space:pre">        </span>);</div><div><br></div><div><br></div><div>All I get are 404 errors.</div><div><br></div><div>The map is in EPSG:900913 and so is the TileCache, so I´m guessing the gridset is ok???..but it´s my first time so I can´t say for sure.</div><div><br></div><div>any help would be great,</div><div><br></div><div>Cheers,</div><div><br></div><div>Rob </div></font></div></div></div></body></html>