librelist archives

« back to archive

GeoNode errors with Java Services on OSX

GeoNode errors with Java Services on OSX

From:
Amenity Applewhite
Date:
2010-11-22 @ 07:36
Hi,

>
I'm trying to run GeoNode on OSX 10.5.8. I don't seem to be able to get the
Java Services running properly. It seems (maybe?) to be related to a missing
webapps resource file...

>
I got through setting up a sandbox and installing the GeoNode Python
dependencies with bootstrap.py, and then I'm able to activate the
virtualenv.  I don't have the directory src/geoserver-geonode-dev/(as
specified in the Getting Started), but I found a startup script in
src/geoserver-geonode-ext/
and ran that.

>
The GeoSever Extensions start to build, and there are a slew of downloads
from the opengeo repo — many have failed checksums, if that matters.  But
things continue to run through starting jetty.  Although the Spring root
WebApplicationContext is initialized, I get several exceptions like:

>
java.lang.IllegalArgumentException: No such webapps resource
file:/Users/amenity/geonode/webapps

>
and:

>
2010-11-22 00:33:55.687::WARN: Error starting handlers
java.io.IOException: Cannot write log directory
/Users/amenity/geonode/src/geoserver-geonode-ext/target/logs

>

before finally getting:

>
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

> [INFO]
------------------------------------------------------------------------

> [ERROR] BUILD ERROR

> [INFO]
------------------------------------------------------------------------

> [INFO] Failure

> Embedded error: No such webapps resource
file:/Users/amenity/geonode/webapps

> [INFO]
------------------------------------------------------------------------

> [INFO] For more information, run Maven with the -e switch

> [INFO]
------------------------------------------------------------------------

> [INFO] Total time: 2 minutes 9 seconds

> [INFO] Jetty server exiting.

>


Any ideas? What other information can I give you?

>
Thanks,

> Amenity

>

Re: [geonode] GeoNode errors with Java Services on OSX

From:
David Winslow
Date:
2010-11-22 @ 14:36
What build instructions are you following? It sounds like you have not run

$ paver build


from the top-level directory yet; geoserver will not be able to start up
unless you do.

--
David Winslow
OpenGeo - http://opengeo.org/

On Mon, Nov 22, 2010 at 2:36 AM, Amenity Applewhite <aapplewhite@opengeo.org
> wrote:

> Hi,
>
>>
> I'm trying to run GeoNode on OSX 10.5.8. I don't seem to be able to get the
> Java Services running properly. It seems (maybe?) to be related to a missing
> webapps resource file...
>
>>
> I got through setting up a sandbox and installing the GeoNode Python
> dependencies with bootstrap.py, and then I'm able to activate the
> virtualenv.  I don't have the directory src/geoserver-geonode-dev/(as
> specified in the Getting Started), but I found a startup script in 
src/geoserver-geonode-ext/
> and ran that.
>
>>
> The GeoSever Extensions start to build, and there are a slew of downloads
> from the opengeo repo — many have failed checksums, if that matters.  But
> things continue to run through starting jetty.  Although the Spring root
> WebApplicationContext is initialized, I get several exceptions like:
>
>>
> java.lang.IllegalArgumentException: No such webapps resource
> file:/Users/amenity/geonode/webapps
>
>>
> and:
>
>>
> 2010-11-22 00:33:55.687::WARN: Error starting handlers
> java.io.IOException: Cannot write log directory
> /Users/amenity/geonode/src/geoserver-geonode-ext/target/logs
>
>>
>
> before finally getting:
>
>>
>  at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>
>> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>
>> [INFO]
> ------------------------------------------------------------------------
>
>> [ERROR] BUILD ERROR
>
>> [INFO]
> ------------------------------------------------------------------------
>
>> [INFO] Failure
>
>> Embedded error: No such webapps resource
> file:/Users/amenity/geonode/webapps
>
>> [INFO]
> ------------------------------------------------------------------------
>
>> [INFO] For more information, run Maven with the -e switch
>
>> [INFO]
> ------------------------------------------------------------------------
>
>> [INFO] Total time: 2 minutes 9 seconds
>
>> [INFO] Jetty server exiting.
>
>>
>
>
> Any ideas? What other information can I give you?
>
>>
> Thanks,
>
>> Amenity
>
>>
>
>

Re: [geonode] GeoNode errors with Java Services on OSX

From:
Amenity Applewhite
Date:
2010-11-22 @ 14:59
I didn't —   I was following the instructions in the Sphinx Getting Started
Guide<http://docs.geonode.org/1.0-RC3/getting-started.html#building-from-source>
.

But after running paver build, it appears I'm in business (with the
unstoppable machine and such).

Thanks!


On Mon, Nov 22, 2010 at 8:36 AM, David Winslow <dwinslow@opengeo.org> wrote:

> What build instructions are you following? It sounds like you have not run
>
> $ paver build
>
>
> from the top-level directory yet; geoserver will not be able to start up
> unless you do.
>
> --
> David Winslow
> OpenGeo - http://opengeo.org/
>
> On Mon, Nov 22, 2010 at 2:36 AM, Amenity Applewhite <
> aapplewhite@opengeo.org> wrote:
>
>> Hi,
>>
>>>
>> I'm trying to run GeoNode on OSX 10.5.8. I don't seem to be able to get
>> the Java Services running properly. It seems (maybe?) to be related to a
>> missing webapps resource file...
>>
>>>
>> I got through setting up a sandbox and installing the GeoNode Python
>> dependencies with bootstrap.py, and then I'm able to activate the
>> virtualenv.  I don't have the directory src/geoserver-geonode-dev/(as
>> specified in the Getting Started), but I found a startup script in 
src/geoserver-geonode-ext/
>> and ran that.
>>
>>>
>> The GeoSever Extensions start to build, and there are a slew of downloads
>> from the opengeo repo — many have failed checksums, if that matters.  But
>> things continue to run through starting jetty.  Although the Spring root
>> WebApplicationContext is initialized, I get several exceptions like:
>>
>>>
>> java.lang.IllegalArgumentException: No such webapps resource
>> file:/Users/amenity/geonode/webapps
>>
>>>
>> and:
>>
>>>
>> 2010-11-22 00:33:55.687::WARN: Error starting handlers
>> java.io.IOException: Cannot write log directory
>> /Users/amenity/geonode/src/geoserver-geonode-ext/target/logs
>>
>>>
>>
>> before finally getting:
>>
>>>
>>  at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>>
>>> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>>
>>> [INFO]
>> ------------------------------------------------------------------------
>>
>>> [ERROR] BUILD ERROR
>>
>>> [INFO]
>> ------------------------------------------------------------------------
>>
>>> [INFO] Failure
>>
>>> Embedded error: No such webapps resource
>> file:/Users/amenity/geonode/webapps
>>
>>> [INFO]
>> ------------------------------------------------------------------------
>>
>>> [INFO] For more information, run Maven with the -e switch
>>
>>> [INFO]
>> ------------------------------------------------------------------------
>>
>>> [INFO] Total time: 2 minutes 9 seconds
>>
>>> [INFO] Jetty server exiting.
>>
>>>
>>
>>
>> Any ideas? What other information can I give you?
>>
>>>
>> Thanks,
>>
>>> Amenity
>>
>>>
>>
>>
>


-- 
Amenity Applewhite
OpenGeo - http://opengeo.org