[Geoserver-devel] [jira] Created: (GEOS-132) changing geoserver base URL

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=GEOS-132

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: GEOS-132
    Summary: changing geoserver base URL
       Type: Bug

     Status: Open
   Priority: Major

Original Estimate: Unknown
Time Spent: Unknown
  Remaining: Unknown

    Project: GeoServer

   Assignee: Chris Holmes
   Reporter: Miguel Ángel Esbrí Palomares

    Created: Wed, 17 Mar 2004 1:11 PM
    Updated: Wed, 17 Mar 2004 1:11 PM
Environment: geoserver 1.1.1, winxp

Description:
I've changed the base url http://localhost:8080 in services.xml instead of my own server url (http://davinci.dlsi.uji.es:8080), but when I request the Capabilities response I still get http://localhost:8080 as base url for all the request capabilities (GetCapabilities, DescribeFeatureType, ..)

<?xml version="1.0" encoding="UTF-8" ?>
- <WFS_Capabilities version="1.0.0" xmlns="http://www.opengis.net/wfs&quot; xmlns:county="http://picasso.dlsi.uji.es/schemas/oklahoma/county&quot; xmlns:flood="http://picasso.dlsi.uji.es/schemas/oklahoma/flood&quot; xmlns:ntadfhwa_uza="http://picasso.dlsi.uji.es/schemas/oklahoma/ntadfhwa_uza&quot; xmlns:hydrographic="http://picasso.dlsi.uji.es/schemas/oklahoma/hydrographic&quot; xmlns:highways="http://picasso.dlsi.uji.es/schemas/oklahoma/highways&quot; xmlns:fire="http://picasso.dlsi.uji.es/schemas/oklahoma/fire&quot; xmlns:zipcode="http://picasso.dlsi.uji.es/schemas/oklahoma/zipcode&quot; xmlns:precinct="http://picasso.dlsi.uji.es/schemas/oklahoma/precinct&quot; xmlns:ogc="http://www.opengis.net/ogc&quot; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot; xsi:schemaLocation="http://www.opengis.net/wfs http://localhost:8080/geoserver/data/capabilities/wfs/1.0.0/WFS-capabilities.xsd&quot;&gt;
- <Service>
  <Name>FreeFS</Name>
  <Title>The Open Planning Project Basemap Server</Title>
  <Abstract>This is a test server. It contains some basemap data from New York City.</Abstract>
  <Keywords>WFS, TEST, NY, New York</Keywords>
  <OnlineResource>http://www.openplans.org/&lt;/OnlineResource&gt;
  <Fees>NONE</Fees>
  <AccessConstraints>NONE</AccessConstraints>
  </Service>
- <Capability>
- <Request>
- <GetCapabilities>
- <DCPType>
- <HTTP>
  <Get onlineResource="http://localhost:8080/geoserver/wfs/GetCapabilities?&quot; />
  </HTTP>
  </DCPType>
- <DCPType>
- <HTTP>
  <Post onlineResource="http://localhost:8080/geoserver/wfs/GetCapabilities&quot; />
  </HTTP>
  </DCPType>
  </GetCapabilities>
- <DescribeFeatureType>
- <SchemaDescriptionLanguage>
  <XMLSCHEMA />
  </SchemaDescriptionLanguage>
- <DCPType>
- <HTTP>
  <Get onlineResource="http://localhost:8080/geoserver/wfs/DescribeFeatureType?&quot; />
  </HTTP>
  </DCPType>
- <DCPType>
- <HTTP>
  <Post onlineResource="http://localhost:8080/geoserver/wfs/DescribeFeatureType&quot; />
  </HTTP>
  </DCPType>
  </DescribeFeatureType>
- <GetFeature>
- <ResultFormat>
  <GML2 />
  </ResultFormat>
- <DCPType>
- <HTTP>
  <Get onlineResource="http://localhost:8080/geoserver/wfs/GetFeature?&quot; />
  </HTTP>
  </DCPType>
- <DCPType>
- <HTTP>
  <Post onlineResource="http://localhost:8080/geoserver/wfs/GetFeature&quot; />
  </HTTP>
  </DCPType>
  </GetFeature>
- <Transaction>
- <DCPType>
- <HTTP>
  <Get onlineResource="http://localhost:8080/geoserver/wfs/Transaction?&quot; />
  </HTTP>
  </DCPType>
- <DCPType>
- <HTTP>
  <Post onlineResource="http://localhost:8080/geoserver/wfs/Transaction&quot; />
  </HTTP>
  </DCPType>
  </Transaction>
- <LockFeature>
- <DCPType>
- <HTTP>
  <Get onlineResource="http://localhost:8080/geoserver/wfs/LockFeature?&quot; />
  </HTTP>
  </DCPType>
- <DCPType>
- <HTTP>
  <Post onlineResource="http://localhost:8080/geoserver/wfs/LockFeature&quot; />
  </HTTP>
  </DCPType>
  </LockFeature>
- <GetFeatureWithLock>
- <ResultFormat>
  <GML2 />
  </ResultFormat>
- <DCPType>
- <HTTP>
  <Get onlineResource="http://localhost:8080/geoserver/wfs/GetFeatureWithLock?&quot; />
  </HTTP>
  </DCPType>
- <DCPType>
- <HTTP>
  <Post onlineResource="http://localhost:8080/geoserver/wfs/GetFeatureWithLock&quot; />
  </HTTP>
  </DCPType>
  </GetFeatureWithLock>
  </Request>
  </Capability>
- <FeatureTypeList>
- <Operations>
  <Query />
  <Insert />
  <Update />
  <Delete />
  <Lock />
  </Operations>
- <FeatureType>
  <Name>zipcode:zipcode</Name>
  <Title>Zip codes within Oklahoma State</Title>
  <Abstract>Zip codes within Oklahoma State</Abstract>
  <Keywords />
  <SRS>EPSG:13869</SRS>
  <LatLongBoundingBox minx="-103.0026" miny="33.6158" maxx="-94.4312" maxy="37.0008" />
  </FeatureType>
- <FeatureType>
  <Name>county:county</Name>
  <Title>State-wide county boundaries for Oklahoma State</Title>
  <Abstract>State-wide county boundaries for Oklahoma State</Abstract>
  <Keywords />
  <SRS>EPSG:13869</SRS>
  <LatLongBoundingBox minx="-103.0026" miny="33.6158" maxx="-94.4312" maxy="37.0008" />
  </FeatureType>
- <FeatureType>
  <Name>hydrographic:ntadhydropol</Name>
  <Title>Hydrographic Features (polygon)</Title>
  <Abstract>Hydrographic Features (polygon)</Abstract>
  <Keywords />
  <SRS>EPSG:13869</SRS>
  <LatLongBoundingBox minx="-179.252851" miny="17.831509" maxx="179.830623" maxy="71.441056" />
  </FeatureType>
- <FeatureType>
  <Name>flood:flood</Name>
  <Title>Flood Maps from the National Flood Insurance Program</Title>
  <Abstract>Flood Maps from the National Flood Insurance Program</Abstract>
  <Keywords />
  <SRS>EPSG:13869</SRS>
  <LatLongBoundingBox minx="-98.8261" miny="34.4057" maxx="-94.6177" maxy="36.9995" />
  </FeatureType>
- <FeatureType>
  <Name>highways:highways</Name>
  <Title>State-wide highways for Oklahoma State</Title>
  <Abstract>State-wide highways for Oklahoma State</Abstract>
  <Keywords />
  <SRS>EPSG:13869</SRS>
  <LatLongBoundingBox minx="-103.0026" miny="33.6158" maxx="-94.4312" maxy="37.0008" />
  </FeatureType>
- <FeatureType>
  <Name>fire:fire</Name>
  <Title>Rural Fire Protection Districts of Oklahoma</Title>
  <Abstract>Rural Fire Protection Districts of Oklahoma</Abstract>
  <Keywords />
  <SRS>EPSG:13869</SRS>
  <LatLongBoundingBox minx="-97.8519" miny="35.0287" maxx="-95.0086" maxy="36.5976" />
  </FeatureType>
- <FeatureType>
  <Name>hydrographic:ntadhydrolin</Name>
  <Title>Hydrographic Features (line)</Title>
  <Abstract>Hydrographic Features (line)</Abstract>
  <Keywords />
  <SRS>EPSG:13869</SRS>
  <LatLongBoundingBox minx="-179.252851" miny="17.831509" maxx="179.830623" maxy="71.441056" />
  </FeatureType>
- <FeatureType>
  <Name>ntadfhwa_uza:ntadfhwa_uza</Name>
  <Title>Federal Aid Urbanized Area Boundaries</Title>
  <Abstract>Federal Aid Urbanized Area Boundaries</Abstract>
  <Keywords />
  <SRS>EPSG:13869</SRS>
  <LatLongBoundingBox minx="-158.081251" miny="17.962564" maxx="-65.740992" maxy="61.480022" />
  </FeatureType>
- <FeatureType>
  <Name>precinct:precinct</Name>
  <Title>State-wide voting precincts for Oklahoma State</Title>
  <Abstract>State-wide voting precincts for Oklahoma State</Abstract>
  <Keywords />
  <SRS>EPSG:13869</SRS>
  <LatLongBoundingBox minx="-103.0026" miny="33.6158" maxx="-94.4312" maxy="37.0008" />
  </FeatureType>
  </FeatureTypeList>
- <ogc:Filter_Capabilities>
- <ogc:Spatial_Capabilities>
- <ogc:Spatial_Operators>
  <ogc:Disjoint />
  <ogc:Equals />
  <ogc:DWithin />
  <ogc:Beyond />
  <ogc:Intersect />
  <ogc:Touches />
  <ogc:Crosses />
  <ogc:Within />
  <ogc:Contains />
  <ogc:Overlaps />
  <ogc:BBOX />
  </ogc:Spatial_Operators>
  </ogc:Spatial_Capabilities>
- <ogc:Scalar_Capabilities>
  <ogc:Logical_Operators />
- <ogc:Comparison_Operators>
  <ogc:Simple_Comparisons />
  <ogc:Between />
  <ogc:Like />
  <ogc:NullCheck />
  </ogc:Comparison_Operators>
- <ogc:Arithmetic_Operators>
  <ogc:Simple_Arithmetic />
  </ogc:Arithmetic_Operators>
  </ogc:Scalar_Capabilities>
  </ogc:Filter_Capabilities>
  </WFS_Capabilities>

---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

The base URL is detected using the request object in the servlet ... it will change as the server name in changed for the container, or based on the entry path to the container (assuming there is not a firewall in the way).

David

jira@anonymised.com wrote:

Message:

A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=GEOS-132

Here is an overview of the issue:
---------------------------------------------------------------------
       Key: GEOS-132
   Summary: changing geoserver base URL
      Type: Bug

    Status: Open
  Priority: Major

Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown

   Project: GeoServer

  Assignee: Chris Holmes
  Reporter: Miguel Ángel Esbrí Palomares

   Created: Wed, 17 Mar 2004 1:11 PM
   Updated: Wed, 17 Mar 2004 1:11 PM
Environment: geoserver 1.1.1, winxp

Description:
I've changed the base url http://localhost:8080 in services.xml instead of my own server url (http://davinci.dlsi.uji.es:8080), but when I request the Capabilities response I still get http://localhost:8080 as base url for all the request capabilities (GetCapabilities, DescribeFeatureType, ..)

<?xml version="1.0" encoding="UTF-8" ?> - <WFS_Capabilities version="1.0.0" xmlns="http://www.opengis.net/wfs&quot; xmlns:county="http://picasso.dlsi.uji.es/schemas/oklahoma/county&quot; xmlns:flood="http://picasso.dlsi.uji.es/schemas/oklahoma/flood&quot; xmlns:ntadfhwa_uza="http://picasso.dlsi.uji.es/schemas/oklahoma/ntadfhwa_uza&quot; xmlns:hydrographic="http://picasso.dlsi.uji.es/schemas/oklahoma/hydrographic&quot; xmlns:highways="http://picasso.dlsi.uji.es/schemas/oklahoma/highways&quot; xmlns:fire="http://picasso.dlsi.uji.es/schemas/oklahoma/fire&quot; xmlns:zipcode="http://picasso.dlsi.uji.es/schemas/oklahoma/zipcode&quot; xmlns:precinct="http://picasso.dlsi.uji.es/schemas/oklahoma/precinct&quot; xmlns:ogc="http://www.opengis.net/ogc&quot; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot; xsi:schemaLocation="http://www.opengis.net/wfs http://localhost:8080/geoserver/data/capabilities/wfs/1.0.0/WFS-capabilities.xsd&quot;&gt;
- <Service>
<Name>FreeFS</Name> <Title>The Open Planning Project Basemap Server</Title> <Abstract>This is a test server. It contains some basemap data from New York City.</Abstract> <Keywords>WFS, TEST, NY, New York</Keywords> <OnlineResource>http://www.openplans.org/&lt;/OnlineResource&gt; <Fees>NONE</Fees> <AccessConstraints>NONE</AccessConstraints> </Service>
- <Capability>
- <Request>
- <GetCapabilities>
- <DCPType>
- <HTTP>
<Get onlineResource="http://localhost:8080/geoserver/wfs/GetCapabilities?&quot; /> </HTTP>
</DCPType>
- <DCPType>
- <HTTP>
<Post onlineResource="http://localhost:8080/geoserver/wfs/GetCapabilities&quot; /> </HTTP>
</DCPType>
</GetCapabilities>
- <DescribeFeatureType>
- <SchemaDescriptionLanguage>
<XMLSCHEMA /> </SchemaDescriptionLanguage>
- <DCPType>
- <HTTP>
<Get onlineResource="http://localhost:8080/geoserver/wfs/DescribeFeatureType?&quot; /> </HTTP>
</DCPType>
- <DCPType>
- <HTTP>
<Post onlineResource="http://localhost:8080/geoserver/wfs/DescribeFeatureType&quot; /> </HTTP>
</DCPType>
</DescribeFeatureType>
- <GetFeature>
- <ResultFormat>
<GML2 /> </ResultFormat>
- <DCPType>
- <HTTP>
<Get onlineResource="http://localhost:8080/geoserver/wfs/GetFeature?&quot; /> </HTTP>
</DCPType>
- <DCPType>
- <HTTP>
<Post onlineResource="http://localhost:8080/geoserver/wfs/GetFeature&quot; /> </HTTP>
</DCPType>
</GetFeature>
- <Transaction>
- <DCPType>
- <HTTP>
<Get onlineResource="http://localhost:8080/geoserver/wfs/Transaction?&quot; /> </HTTP>
</DCPType>
- <DCPType>
- <HTTP>
<Post onlineResource="http://localhost:8080/geoserver/wfs/Transaction&quot; /> </HTTP>
</DCPType>
</Transaction>
- <LockFeature>
- <DCPType>
- <HTTP>
<Get onlineResource="http://localhost:8080/geoserver/wfs/LockFeature?&quot; /> </HTTP>
</DCPType>
- <DCPType>
- <HTTP>
<Post onlineResource="http://localhost:8080/geoserver/wfs/LockFeature&quot; /> </HTTP>
</DCPType>
</LockFeature>
- <GetFeatureWithLock>
- <ResultFormat>
<GML2 /> </ResultFormat>
- <DCPType>
- <HTTP>
<Get onlineResource="http://localhost:8080/geoserver/wfs/GetFeatureWithLock?&quot; /> </HTTP>
</DCPType>
- <DCPType>
- <HTTP>
<Post onlineResource="http://localhost:8080/geoserver/wfs/GetFeatureWithLock&quot; /> </HTTP>
</DCPType>
</GetFeatureWithLock>
</Request>
</Capability>
- <FeatureTypeList>
- <Operations>
<Query /> <Insert /> <Update /> <Delete /> <Lock /> </Operations>
- <FeatureType>
<Name>zipcode:zipcode</Name> <Title>Zip codes within Oklahoma State</Title> <Abstract>Zip codes within Oklahoma State</Abstract> <Keywords /> <SRS>EPSG:13869</SRS> <LatLongBoundingBox minx="-103.0026" miny="33.6158" maxx="-94.4312" maxy="37.0008" /> </FeatureType>
- <FeatureType>
<Name>county:county</Name> <Title>State-wide county boundaries for Oklahoma State</Title> <Abstract>State-wide county boundaries for Oklahoma State</Abstract> <Keywords /> <SRS>EPSG:13869</SRS> <LatLongBoundingBox minx="-103.0026" miny="33.6158" maxx="-94.4312" maxy="37.0008" /> </FeatureType>
- <FeatureType>
<Name>hydrographic:ntadhydropol</Name> <Title>Hydrographic Features (polygon)</Title> <Abstract>Hydrographic Features (polygon)</Abstract> <Keywords /> <SRS>EPSG:13869</SRS> <LatLongBoundingBox minx="-179.252851" miny="17.831509" maxx="179.830623" maxy="71.441056" /> </FeatureType>
- <FeatureType>
<Name>flood:flood</Name> <Title>Flood Maps from the National Flood Insurance Program</Title> <Abstract>Flood Maps from the National Flood Insurance Program</Abstract> <Keywords /> <SRS>EPSG:13869</SRS> <LatLongBoundingBox minx="-98.8261" miny="34.4057" maxx="-94.6177" maxy="36.9995" /> </FeatureType>
- <FeatureType>
<Name>highways:highways</Name> <Title>State-wide highways for Oklahoma State</Title> <Abstract>State-wide highways for Oklahoma State</Abstract> <Keywords /> <SRS>EPSG:13869</SRS> <LatLongBoundingBox minx="-103.0026" miny="33.6158" maxx="-94.4312" maxy="37.0008" /> </FeatureType>
- <FeatureType>
<Name>fire:fire</Name> <Title>Rural Fire Protection Districts of Oklahoma</Title> <Abstract>Rural Fire Protection Districts of Oklahoma</Abstract> <Keywords /> <SRS>EPSG:13869</SRS> <LatLongBoundingBox minx="-97.8519" miny="35.0287" maxx="-95.0086" maxy="36.5976" /> </FeatureType>
- <FeatureType>
<Name>hydrographic:ntadhydrolin</Name> <Title>Hydrographic Features (line)</Title> <Abstract>Hydrographic Features (line)</Abstract> <Keywords /> <SRS>EPSG:13869</SRS> <LatLongBoundingBox minx="-179.252851" miny="17.831509" maxx="179.830623" maxy="71.441056" /> </FeatureType>
- <FeatureType>
<Name>ntadfhwa_uza:ntadfhwa_uza</Name> <Title>Federal Aid Urbanized Area Boundaries</Title> <Abstract>Federal Aid Urbanized Area Boundaries</Abstract> <Keywords /> <SRS>EPSG:13869</SRS> <LatLongBoundingBox minx="-158.081251" miny="17.962564" maxx="-65.740992" maxy="61.480022" /> </FeatureType>
- <FeatureType>
<Name>precinct:precinct</Name> <Title>State-wide voting precincts for Oklahoma State</Title> <Abstract>State-wide voting precincts for Oklahoma State</Abstract> <Keywords /> <SRS>EPSG:13869</SRS> <LatLongBoundingBox minx="-103.0026" miny="33.6158" maxx="-94.4312" maxy="37.0008" /> </FeatureType>
</FeatureTypeList>
- <ogc:Filter_Capabilities>
- <ogc:Spatial_Capabilities>
- <ogc:Spatial_Operators>
<ogc:Disjoint /> <ogc:Equals /> <ogc:DWithin /> <ogc:Beyond /> <ogc:Intersect /> <ogc:Touches /> <ogc:Crosses /> <ogc:Within /> <ogc:Contains /> <ogc:Overlaps /> <ogc:BBOX /> </ogc:Spatial_Operators>
</ogc:Spatial_Capabilities>
- <ogc:Scalar_Capabilities>
<ogc:Logical_Operators /> - <ogc:Comparison_Operators>
<ogc:Simple_Comparisons /> <ogc:Between /> <ogc:Like /> <ogc:NullCheck /> </ogc:Comparison_Operators>
- <ogc:Arithmetic_Operators>
<ogc:Simple_Arithmetic /> </ogc:Arithmetic_Operators>
</ogc:Scalar_Capabilities>
</ogc:Filter_Capabilities>
</WFS_Capabilities>

---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
  http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
  http://www.atlassian.com/software/jira

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel