<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Hi,<br>thanks that solved the problem.<br>But now I get a java.lang.RuntimeException: java.io.IOException Connection test failed Cannot create PoolableConnectionFactory.<br>But think that´s a Geoserver and/or Tomcat issue, so I will ask on these mailinglist.<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br>best regards<br>Sarah<br><br><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">Von:</span></b> Christopher Schmidt &lt;crschmidt@metacarta.com&gt;<br><b><span style="font-weight: bold;">An:</span></b> Sarah Schuessler &lt;sarah_flip@yahoo.de&gt;<br><b><span style="font-weight: bold;">CC:</span></b> users@openlayers.org<br><b><span
 style="font-weight: bold;">Gesendet:</span></b> Donnerstag, den 4. März 2010, 21:12:02 Uhr<br><b><span style="font-weight: bold;">Betreff:</span></b> Re: [OpenLayers-Users] layer.projection.getCode is not a function<br></font><br>On Thu, Mar 04, 2010 at 02:13:02PM +0000, Sarah Schuessler wrote:<br>&gt; Hi list,<br>&gt; <br>&gt; I want to add a selectControl to my map (like the getfeature-wfs example).<br>&gt; I use Openlayers.Control.GetFeature and OpenLayers.Protocol.WFS.fromWMSLayer. At firebug I see that EPSG from my WMS layer is found ("EPSG:4326") but error came up at WFS.js (line 56) saying layer.projection.getCode is not a function. I declared srsName: "EPSG:4326" (tried it with: projection: "EPSG:4326") at protocol but that didn´t change anything.<br>&gt; Where are my mistake?<br><br>projection: new OpenLayers.Projection("EPSG:4326")<br><br>on the layer.<br><br>-- Chris<br><br>&gt; Thanks for any hint!<br>&gt; best regards<br>&gt;
 Sarah<br>&gt; <br>&gt; <br>&gt; __________________________________________________<br>&gt; Do You Yahoo!?<br>&gt; Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. <br>&gt; <a href="http://mail.yahoo.com" target="_blank">http://mail.yahoo.com</a> <br>&gt; _______________________________________________<br>&gt; Users mailing list<br>&gt; <a ymailto="mailto:Users@openlayers.org" href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>&gt; <a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br><br><br>-- <br>Christopher Schmidt<br>MetaCarta<br></div></div>
</div><br>__________________________________________________<br>Do You Yahoo!?<br>Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. <br>http://mail.yahoo.com </body></html>