[Geoserver-devel] Geoserver Problems

Hi,

I have found a few problems

  • When doing an import of geoserver (1.4.0-M1), there are 2 config projects (see importEclipse.png), this could be due to the fact that when you run a mvn clean install it creates this config folder but it cause some headache when trying to import Geoserver into eclipse

  • There was a mail sent around saying that you should use mvn jetty:run, but this does work the ~/tags/1.4.0-M1, and this beg another question, why are we working against the ~/tags/1.4.0-M1 version? We dont want to work against trunk, should we? We dont want to work with the 1.4.x_Merge_WCS, so we are left with the ~/tags/1.4.0-M1.

  • When we are trying to run Jetty with mvn jetty6:run there is no data directory set and this does not allow you to add any stores.To run geoserver in debug mode, you have to:

    a) install the 1.4.M1.exe (this will create your datadir for you and setup an environment variable in windows)
    b) when you run from either “mvn jetty6:run” or from eclipse (as per the instructions at http://docs.codehaus.org/display/GEOSDEV/3+Eclipse+Quickstart) you have to add in the GEOSERVER_DATA_DIR variable as “program arguments”: -DGEOSERVER_DATA_DIR=“C:\Program Files\GeoServer 1.4.0-M1\webapps\geoserver\conf” jetty6:run
    to run from the command line: mvn -DGEOSERVER_DATA_DIR=“C:\Program Files\GeoServer 1.4.0-M1\webapps\geoserver\conf” jetty6:run

(attachments)

importEclipse.PNG
torun.png

···
-- 
Kind Regards
Clint Lewis

Clint Lewis wrote:

Hi,

I have found a few problems

    * When doing an import of geoserver (1.4.0-M1), there are 2 config
      projects (see importEclipse.png), this could be due to the fact
      that when you run a mvn clean install it creates this config
      folder but it cause some headache when trying to import Geoserver
      into eclipse

the config module was moved to the maven directory some time back, if
you updated and your config directory was not empty (probably because of
eclipse .project and .classpath files), it would have not been deleted.

So if you have a config directory under the root, just delete it.

    * There was a mail sent around saying that you should use mvn
      jetty:run, but this does work the ~/tags/1.4.0-M1, and this beg
      another question, why are we working against the ~/tags/1.4.0-M1
      version? We dont want to work against trunk, should we? We dont
      want to work with the 1.4.x_Merge_WCS, so we are left with the
      ~/tags/1.4.0-M1.

It was added after 1.4.0-M1 was tagged. If you are developing and
require a checkout you should be working against a branch or trunk, not
a tag.

    * When we are trying to run Jetty with mvn jetty6:run there is no
      data directory set and this does not allow you to add any
      stores.To run geoserver in debug mode, you have to:
      a) install the 1.4.M1.exe (this will create your datadir for you
      and setup an environment variable in windows)
      b) when you run from either "mvn jetty6:run" or from eclipse (as
      per the instructions at
      http://docs.codehaus.org/display/GEOSDEV/3+Eclipse+Quickstart) you
      have to add in the GEOSERVER_DATA_DIR variable as "program
      arguments": -DGEOSERVER_DATA_DIR="C:\Program Files\GeoServer
      1.4.0-M1\webapps\geoserver\conf" jetty6:run
      to run from the command line: mvn -DGEOSERVER_DATA_DIR="C:\Program
      Files\GeoServer 1.4.0-M1\webapps\geoserver\conf" jetty6:run

Not sure what you mean when you say you cant add stores. If you dont
specify a GEOSERVER_DATA_DIR, one is assumed, and it should behave the
same. Can you give an example of not being able to add a data store
running with the default data directory.

-Justin

--
Kind Regards
Clint Lewis

!DSPAM:1004,45091951138251971556521!
------------------------------------------------------------------------

------------------------------------------------------------------------

------------------------------------------------------------------------

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

!DSPAM:1004,45091951138251971556521!

------------------------------------------------------------------------

_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

!DSPAM:1004,45091951138251971556521!

--
Justin Deoliveira
jdeolive@anonymised.com
The Open Planning Project
http://topp.openplans.org

Kind Regards
Clint Lewis

Justin Deoliveira wrote:

Clint Lewis wrote:
  

Hi,

I have found a few problems

    * When doing an import of geoserver (1.4.0-M1), there are 2 config
      projects (see importEclipse.png), this could be due to the fact
      that when you run a mvn clean install it creates this config
      folder but it cause some headache when trying to import Geoserver
      into eclipse
    

the config module was moved to the maven directory some time back, if
you updated and your config directory was not empty (probably because of
eclipse .project and .classpath files), it would have not been deleted.

So if you have a config directory under the root, just delete it.
  

Thanks I will do this. :stuck_out_tongue:

  

    * There was a mail sent around saying that you should use mvn
      jetty:run, but this does work the ~/tags/1.4.0-M1, and this beg
      another question, why are we working against the ~/tags/1.4.0-M1
      version? We dont want to work against trunk, should we? We dont
      want to work with the 1.4.x_Merge_WCS, so we are left with the
      ~/tags/1.4.0-M1.
    

It was added after 1.4.0-M1 was tagged. If you are developing and
require a checkout you should be working against a branch or trunk, not
a tag.
  

I dont know which branch to work against, do work against trunk or which branch? You could clarify this? We need the module spring stuff, but dont require the WCS stuff. Any suggestions. :frowning:

    * When we are trying to run Jetty with mvn jetty6:run there is no
      data directory set and this does not allow you to add any
      stores.To run geoserver in debug mode, you have to:
      a) install the 1.4.M1.exe (this will create your datadir for you
      and setup an environment variable in windows)
      b) when you run from either "mvn jetty6:run" or from eclipse (as
      per the instructions at
      http://docs.codehaus.org/display/GEOSDEV/3+Eclipse+Quickstart) you
      have to add in the GEOSERVER_DATA_DIR variable as "program
      arguments": -DGEOSERVER_DATA_DIR="C:\Program Files\GeoServer
      1.4.0-M1\webapps\geoserver\conf" jetty6:run
      to run from the command line: mvn -DGEOSERVER_DATA_DIR="C:\Program
      Files\GeoServer 1.4.0-M1\webapps\geoserver\conf" jetty6:run
    

Not sure what you mean when you say you cant add stores. If you dont
specify a GEOSERVER_DATA_DIR, one is assumed, and it should behave the
same. Can you give an example of not being able to add a data store
running with the default data directory.
  

Stores = dataStores.. I have replied to this email saying that in the web/pom.xml there is a piece of xml that needs to be uncommented :slight_smile:

-Justin
  

--
Kind Regards
Clint Lewis

!DSPAM:1004,45091951138251971556521!
------------------------------------------------------------------------

------------------------------------------------------------------------

------------------------------------------------------------------------

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

!DSPAM:1004,45091951138251971556521!

------------------------------------------------------------------------

_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

!DSPAM:1004,45091951138251971556521!