So, I am unable to run Geonetwork with Tomcat, but am able to run it
with Jetty. But, how do I keep it running even after logging out of
the server?
I am on RHEL ES3.
--
Puneet Kishor
So, I am unable to run Geonetwork with Tomcat, but am able to run it
with Jetty. But, how do I keep it running even after logging out of
the server?
I am on RHEL ES3.
--
Puneet Kishor
Actually, I should have asked, how do I keep Geonetwork running even
after logging out of the server.
On 3/24/08, P Kishor <punk.kish@anonymised.com> wrote:
So, I am unable to run Geonetwork with Tomcat, but am able to run it
with Jetty. But, how do I keep it running even after logging out of
the server?I am on RHEL ES3.
--
Puneet Kishor
Hi GN,
I am at a standstill. I am unable to make GN 2.2.0 RC2 run
successfully with Tomcat 6, and while I can run it with Jetty, I am
unable to figure out how to keep Jetty/GN running even after logging
out of the server.
Additionally, even while running under Jetty, none of the db-related
actions work. For example, trying to log in as admin/admin gives me a
NullPointerException error.
Error
The requested operation could not be performed.
NullPointerException :
Would appreciate any guidance on this so I can move on to the next
portion -- actually learning how to use GN and determining if it will
suit our project or not.
Many thanks in advance.
On 3/24/08, P Kishor <punk.kish@anonymised.com> wrote:
Actually, I should have asked, how do I keep Geonetwork running even
after logging out of the server.On 3/24/08, P Kishor <punk.kish@anonymised.com> wrote:
> So, I am unable to run Geonetwork with Tomcat, but am able to run it
> with Jetty. But, how do I keep it running even after logging out of
> the server?
>
> I am on RHEL ES3.
>
>
> --
> Puneet Kishor
>
Hi Puneet,
My suggestion to you is to really focus your efforts on getting Tomcat
up and running. While I only have limited experience with Jetty, my
understanding is that if you intend to run this on any "server" type
machine with multiple users hitting it (as well as GeoServer &
Intermap), Tomcat servlet container is realistically the only way to go.
What type of errors have you been getting through Tomcat? I have
successfully installed GeoNetwork/Tomcat on Fedora 8...
G McKenzie.
-----Original Message-----
From: geonetwork-users-bounces@lists.sourceforge.net
[mailto:geonetwork-users-bounces@lists.sourceforge.net] On Behalf Of P
Kishor
Sent: Tuesday, March 25, 2008 11:38 AM
To: geonetwork-users@lists.sourceforge.net
Subject: Re: [GeoNetwork-users] running Jetty even after logging out
Hi GN,
I am at a standstill. I am unable to make GN 2.2.0 RC2 run successfully
with Tomcat 6, and while I can run it with Jetty, I am unable to figure
out how to keep Jetty/GN running even after logging out of the server.
Additionally, even while running under Jetty, none of the db-related
actions work. For example, trying to log in as admin/admin gives me a
NullPointerException error.
Error
The requested operation could not be performed.
NullPointerException :
Would appreciate any guidance on this so I can move on to the next
portion -- actually learning how to use GN and determining if it will
suit our project or not.
Many thanks in advance.
On 3/24/08, P Kishor <punk.kish@anonymised.com> wrote:
Actually, I should have asked, how do I keep Geonetwork running even
after logging out of the server.On 3/24/08, P Kishor <punk.kish@anonymised.com> wrote:
> So, I am unable to run Geonetwork with Tomcat, but am able to run
it > with Jetty. But, how do I keep it running even after logging
out of > the server?
>
> I am on RHEL ES3.
>
>
> --
> Puneet Kishor
>
------------------------------------------------------------------------
-
This SF.net email is sponsored by: Microsoft Defy all challenges.
Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork
Thanks Grant. Well, I agree with you completely as I too would like to
have nothing to do with Jetty, and instead, make GN work with Tomcat.
Here is the recent message thread in this regard, presented
chronologically –
-- I wrote --
I installed geonetwork 2.1.0 on a RHEL ES3 box with Java 1.6 and
Tomcat 6. As far as I can tell, geonetwork [1] itself and geoserver
[2] are working fine, but intermap [3] is kaput. Whatever the reason,
the geonetwork experience is less than satisfying right now. Any
assistance in getting past this first step would be much welcome.
-- then I added --
I should add here that I really don't know what I am talking about
because I know less than nothing about Java. Fwiw, the tomcat manager
status page tells me that intermap is launched and working fine. I am
basing my above diagnosis on what Firebug is telling me. When I go to
my geoserver page, Firebug tries to call on
but croaks with the message that
<form target="_top" action="/intermap/srv/en/map.getMain"
method="post" name="form">
<table height="90%" width="900">
<tr>
<td valign="middle" align="center">
<table cellpadding="6">
<tr>
<td><b>The requested operation could not be performed.</b></td>
</tr>
<tr>
<td align="center"><input width="100" type="submit" style="width:65"
value="Ok"></td>
</tr>
</table>
</td>
</tr>
</table>
</form>
-- to which I got a reply from Jeroen Ticheler --
Please use the RC2 release of GeoNetwork 2.2.0.
-- to which, I responded, after installing GN 2.2.0 RC2 --
Thanks, this seems to be a bit better, but not too much.
Now when I go to geonetwork, I get a broken image in the little map
viewer in the top left of the browser, and the following in my Firebug
console
<?xml version="1.0" encoding="UTF-8"?>
<response>
<imgUrl>/intermap/tmp/null</imgUrl>
<scale>761,952,768</scale>
<extent minx="-180.0" maxx="180.0" miny="-90.0" maxy="90.0" />
<width>200</width>
<height>100</height>
</response>
Fwiw, I am on a Linux RHEL ES3 with Java 1.6 and Tomcat 6. Once again,
the Tomcat manager shows that all three apps, geonetwork, geoserver,
and intermap are running.
Interestingly, now even geoserver is not coming up successfully for
me. When I go to webserver:8080/geoserver, I get the welcome page
fine, I am able to log in as admin/geoserver, and then I click on demo
and get the demo page. But, when I click on any of the demos, I get a
page with all the map controls but no map. Once again, Firebug reveals
the following --
<?xml version="1.0" encoding="UTF-8" standalone="no" ?><!DOCTYPE
ServiceExceptionReport SYSTEM "http
://localhost:8080/geoserver/schemas//wms/1.1.1/WMS_exception_1_1_1.dtd">
<ServiceExceptionReport version
="1.1.1"> <ServiceException>Could not initialize class
sun.awt.X11GraphicsEnvironment
Could not initialize class
sun.awt.X11GraphicsEnvironment</ServiceException>
</ServiceExceptionReport>
I should reiterate that Geonetwork seems to work fine when started
with Jetty. By the way, there is a typo on the start-geonetwork.sh
file. Instead of
mv log/geonetwork.log.* log/archive
mv log/intermap.log.* log/archive
it should say
mv log/geonetwork.log* log/archive
mv log/intermap.log* log/archive
(note the period after log in the provided file is wrong).
So, it seems to be an issue in conjunction with the Tomcat setup.
On Tue, Mar 25, 2008 at 3:22 PM, <Grant.McKenzie@anonymised.com> wrote:
Hi Puneet,
My suggestion to you is to really focus your efforts on getting Tomcat
up and running. While I only have limited experience with Jetty, my
understanding is that if you intend to run this on any "server" type
machine with multiple users hitting it (as well as GeoServer &
Intermap), Tomcat servlet container is realistically the only way to go.
What type of errors have you been getting through Tomcat? I have
successfully installed GeoNetwork/Tomcat on Fedora 8...G McKenzie.
-----Original Message-----
From: geonetwork-users-bounces@lists.sourceforge.net
[mailto:geonetwork-users-bounces@lists.sourceforge.net] On Behalf Of P
Kishor
Sent: Tuesday, March 25, 2008 11:38 AM
To: geonetwork-users@lists.sourceforge.net
Subject: Re: [GeoNetwork-users] running Jetty even after logging outHi GN,
I am at a standstill. I am unable to make GN 2.2.0 RC2 run successfully
with Tomcat 6, and while I can run it with Jetty, I am unable to figure
out how to keep Jetty/GN running even after logging out of the server.Additionally, even while running under Jetty, none of the db-related
actions work. For example, trying to log in as admin/admin gives me a
NullPointerException error.Error
The requested operation could not be performed.
NullPointerException :Would appreciate any guidance on this so I can move on to the next
portion -- actually learning how to use GN and determining if it will
suit our project or not.Many thanks in advance.
On 3/24/08, P Kishor <punk.kish@anonymised.com> wrote:
> Actually, I should have asked, how do I keep Geonetwork running even
> after logging out of the server.
>
>
> On 3/24/08, P Kishor <punk.kish@anonymised.com> wrote:
> > So, I am unable to run Geonetwork with Tomcat, but am able to run
> it > with Jetty. But, how do I keep it running even after logging
> out of > the server?
> >
> > I am on RHEL ES3.
> >
> >
> > --
> > Puneet Kishor
> >
>
--
Puneet Kishor http://punkish.eidesis.org/
Nelson Institute for Environmental Studies http://www.nelson.wisc.edu/
Open Source Geospatial Foundation (OSGeo) http://www.osgeo.org/
On 3/25/08, Grant.McKenzie@anonymised.com <Grant.McKenzie@anonymised.com> wrote:
hmm..
Looks like you've had some issues ;/
One thing you might try (regarding the broken intermap image in
geonetwork), is to add a second intermap context link in Tomcat's
server.xml file (I'm assuming you did this for GeoNetwork, GeoServer &
Intermap already). For some reason the paths are all mixed up in
GeoNetwork and it really caused a lot of problems for me early on.<Context path="/intermap"
docBase="/usr/local/geonetwork/web/intermap" crossContext="false"
debug="0" reloadable="false" />
<Context path="geonetwork/intermap"
docBase="/usr/local/geonetwork/web/intermap" crossContext="false"
debug="0" reloadable="false" />Also, go into TomCat Manager and invalidate all the open GeoNetwork,
GeoServer & Intermap sessions and then restart the services. Remember
to shut down tomcat before making ANY changes, then restart it.Let me know if that helps at all... and we can try working backwards
from there.
Yes, this helps tremendously. I owe you a beer or sump'n Grant.
Jeebuz. Why is this not documented? Or, did this, for some strange
reason, only apply to me and you? I spent a few days spinning my
wheels on this.
Ok. So, now I am able to get all the interface stuff working,
everything is coming up on the GN website, and it is all powered by
Tomcat 6.
I am still, however, getting the NullPointerException when I try to
log in as admin/admin. What is the fu required to solve this?
Grant.
-----Original Message-----
From: P Kishor [mailto:punk.kish@anonymised.com]
Sent: Tuesday, March 25, 2008 1:37 PM
To: McKenzie, Grant/SEA
Cc: geonetwork-users@lists.sourceforge.net
Subject: Re: [GeoNetwork-users] running Jetty even after logging outThanks Grant. Well, I agree with you completely as I too would like to
have nothing to do with Jetty, and instead, make GN work with Tomcat.
Here is the recent message thread in this regard, presented
chronologically --- I wrote --
I installed geonetwork 2.1.0 on a RHEL ES3 box with Java 1.6 and Tomcat
6. As far as I can tell, geonetwork [1] itself and geoserver [2] are
working fine, but intermap [3] is kaput. Whatever the reason, the
geonetwork experience is less than satisfying right now. Any assistance
in getting past this first step would be much welcome.-- then I added --
I should add here that I really don't know what I am talking about
because I know less than nothing about Java. Fwiw, the tomcat manager
status page tells me that intermap is launched and working fine. I am
basing my above diagnosis on what Firebug is telling me. When I go to my
geoserver page, Firebug tries to call onhttp://speedy.ersc.wisc.edu:8080/intermap/srv/en/map.update?width=200&he
ight=100&northBL=90&eastBL=180&southBL=-90&westBL=-180but croaks with the message that
<form target="_top" action="/intermap/srv/en/map.getMain"
method="post" name="form">
<table height="90%" width="900">
<tr>
<td valign="middle" align="center">
<table cellpadding="6">
<tr>
<td><b>The requested operation could not be performed.</b></td> </tr>
<tr> <td align="center"><input width="100" type="submit"
style="width:65"
value="Ok"></td>
</tr>
</table>
</td>
</tr>
</table>
</form>-- to which I got a reply from Jeroen Ticheler -- Please use the RC2
release of GeoNetwork 2.2.0.-- to which, I responded, after installing GN 2.2.0 RC2 -- Thanks, this
seems to be a bit better, but not too much.Now when I go to geonetwork, I get a broken image in the little map
viewer in the top left of the browser, and the following in my Firebug
console<?xml version="1.0" encoding="UTF-8"?>
<response>
<imgUrl>/intermap/tmp/null</imgUrl>
<scale>761,952,768</scale>
<extent minx="-180.0" maxx="180.0" miny="-90.0" maxy="90.0" />
<width>200</width> <height>100</height> </response>Fwiw, I am on a Linux RHEL ES3 with Java 1.6 and Tomcat 6. Once again,
the Tomcat manager shows that all three apps, geonetwork, geoserver, and
intermap are running.Interestingly, now even geoserver is not coming up successfully for me.
When I go to webserver:8080/geoserver, I get the welcome page fine, I am
able to log in as admin/geoserver, and then I click on demo and get the
demo page. But, when I click on any of the demos, I get a page with all
the map controls but no map. Once again, Firebug reveals the following
--<?xml version="1.0" encoding="UTF-8" standalone="no" ?><!DOCTYPE
ServiceExceptionReport SYSTEM "http
://localhost:8080/geoserver/schemas//wms/1.1.1/WMS_exception_1_1_1.dtd">
<ServiceExceptionReport version
="1.1.1"> <ServiceException>Could not initialize class
sun.awt.X11GraphicsEnvironment
Could not initialize class
sun.awt.X11GraphicsEnvironment</ServiceException>
</ServiceExceptionReport>I should reiterate that Geonetwork seems to work fine when started with
Jetty. By the way, there is a typo on the start-geonetwork.sh file.
Instead ofmv log/geonetwork.log.* log/archive
mv log/intermap.log.* log/archiveit should say
mv log/geonetwork.log* log/archive
mv log/intermap.log* log/archive(note the period after log in the provided file is wrong).
So, it seems to be an issue in conjunction with the Tomcat setup.
On Tue, Mar 25, 2008 at 3:22 PM, <Grant.McKenzie@anonymised.com> wrote:
> Hi Puneet,
>
> My suggestion to you is to really focus your efforts on getting Tomcat> up and running. While I only have limited experience with Jetty, my
> understanding is that if you intend to run this on any "server" type
> machine with multiple users hitting it (as well as GeoServer &
> Intermap), Tomcat servlet container is realistically the only way to
go.
> What type of errors have you been getting through Tomcat? I have
> successfully installed GeoNetwork/Tomcat on Fedora 8...
>
> G McKenzie.
>
>
> -----Original Message-----
> From: geonetwork-users-bounces@lists.sourceforge.net
> [mailto:geonetwork-users-bounces@lists.sourceforge.net] On Behalf Of P> Kishor
> Sent: Tuesday, March 25, 2008 11:38 AM
> To: geonetwork-users@lists.sourceforge.net
> Subject: Re: [GeoNetwork-users] running Jetty even after logging out
>
> Hi GN,
>
> I am at a standstill. I am unable to make GN 2.2.0 RC2 run
> successfully with Tomcat 6, and while I can run it with Jetty, I am
> unable to figure out how to keep Jetty/GN running even after logging
out of the server.
>
> Additionally, even while running under Jetty, none of the db-related
> actions work. For example, trying to log in as admin/admin gives me a
> NullPointerException error.
>
> Error
> The requested operation could not be performed.
> NullPointerException :
>
> Would appreciate any guidance on this so I can move on to the next
> portion -- actually learning how to use GN and determining if it will
> suit our project or not.
>
> Many thanks in advance.
>
>
> On 3/24/08, P Kishor <punk.kish@anonymised.com> wrote:
> > Actually, I should have asked, how do I keep Geonetwork running even> > after logging out of the server.
> >
> >
> > On 3/24/08, P Kishor <punk.kish@anonymised.com> wrote:
> > > So, I am unable to run Geonetwork with Tomcat, but am able to run> > it > with Jetty. But, how do I keep it running even after logging
> > out of > the server?
> > >
> > > I am on RHEL ES3.
> > >
> > >
> > > --
> > > Puneet Kishor
> > >
> >
>--
Puneet Kishor http://punkish.eidesis.org/ Nelson Institute for
Environmental Studies http://www.nelson.wisc.edu/ Open Source Geospatial
Foundation (OSGeo) http://www.osgeo.org/
Hi Grant,
I can wholeheartedly disagree with this I've been running Jetty in production for quite some months on our main server while we had a problem with Tomcat and it works as fast or faster than Tomcat. It seems an excellent solution even for production servers.
Cheers,
Jeroen
On Mar 25, 2008, at 9:22 PM, Grant.McKenzie@anonymised.com wrote:
While I only have limited experience with Jetty, my
understanding is that if you intend to run this on any "server" type
machine with multiple users hitting it (as well as GeoServer &
Intermap), Tomcat servlet container is realistically the only way to go
Hi Puneet,
I'm sorry you had problems to get started. At the same time I'm thinking that if you just had to evaluate the software for your projects, you'd rather play with the default settings first and start doing more complex configurations at a later stage. For now we have always said that one should use Java 1.5 and Tomcat 5.5. Anything you try to use outside of those is really your own choice and I feel a bit uncomfortable with your previous emails on this. To the best of my knowledge the default settings work for almost all OS choices.
You indicated previously that you know less than nothing about Java, I'm not sure what that means for configuring Tomcat or running servlet applications, but it suggests that you really better try default settings first.
Your login problem seems persistent since the first installation. I have the feeling that installation actually failed to create the database completely or at least partially. You should see a list of tables at ../web/geonetwork/WEB-INF/db/data/
You may consider a new install using Java 1.5 and Jetty.
Good luck,
Jeroen
On Mar 26, 2008, at 12:15 AM, P Kishor wrote:
Jeebuz. Why is this not documented? Or, did this, for some strange
reason, only apply to me and you? I spent a few days spinning my
wheels on this.Ok. So, now I am able to get all the interface stuff working,
everything is coming up on the GN website, and it is all powered by
Tomcat 6.I am still, however, getting the NullPointerException when I try to
log in as admin/admin. What is the fu required to solve this?
On 3/26/08, Jeroen Ticheler <Jeroen.Ticheler@anonymised.com> wrote:
Hi Puneet,
I'm sorry you had problems to get started. At the same time I'm
thinking that if you just had to evaluate the software for your
projects, you'd rather play with the default settings first and start
doing more complex configurations at a later stage. For now we have
always said that one should use Java 1.5 and Tomcat 5.5. Anything you
try to use outside of those is really your own choice and I feel a bit
uncomfortable with your previous emails on this. To the best of my
knowledge the default settings work for almost all OS choices.
Unfortunately, I am stuck with what I am stuck with, and don't really
have a choice to unroll the Java and Tomcat installations on the
server I have been provided.
Keep in mind that my process of "evaluating" includes not just
evaluating the software's capabilities but starts right off with
evaluating how hard or easy it may be to set it up on one of many
possible configurations. It also includes evaluating the
documentation, setup guide, etc. Of course, once I get it going, I am
happy to contribute my experiences and helpful notes back to the
community.
The nature of errors makes it seem to me that it has something to do
with paths, perhaps even permissions (although I would lean more
toward paths). It could also be because of something going kaput
during installation. Hard for me to know. How do I figure that out?
You indicated previously that you know less than nothing about Java,
I'm not sure what that means for configuring Tomcat or running servlet
applications, but it suggests that you really better try default
settings first.Your login problem seems persistent since the first installation. I
have the feeling that installation actually failed to create the
database completely or at least partially. You should see a list of
tables at ../web/geonetwork/WEB-INF/db/data/
Yes, I do. See below
08:58 AM] /usr/local/geonetwork/web/geonetwork/WEB-INF/db/data$ ls
000SYS_INFO_sUSRSequenceInfo.koi 012SYS_INFO_sUSRUserPriv.koi
024APP_Languages.koi 036APP_CategoriesDes.koi
001SYS_INFO_sUSRSequence.koi 013SYS_INFO_sUSRUserConnectPriv.koi
025APP_Sources.koi 037APP_Metadata.koi
002SYS_INFO_sUSRPKeyInfo.koi 014SYS_INFO_sUSRGrant.koi
026APP_IsoLanguages.koi 038APP_MetadataCateg.koi
003SYS_INFO_sUSRFKeyInfo.koi 015SYS_INFO_sUSRService.koi
027APP_IsoLanguagesDes.koi 039APP_OperationAllowed.koi
004SYS_INFO_sUSRUniqueInfo.koi 016SYS_INFO_sUSRFunctionFactory.koi
028APP_Regions.koi 040APP_MetadataRating.koi
005SYS_INFO_sUSRCheckInfo.koi 017SYS_INFO_sUSRFunction.koi
029APP_RegionsDes.koi BlobStore.koi
006SYS_INFO_sUSRPrimaryColumns.koi 018SYS_INFO_sUSRView.koi
030APP_Users.koi DefaultDatabase.lock
007SYS_INFO_sUSRUniqueColumns.koi 019SYS_INFO_sUSRLabel.koi
031APP_Operations.koi DefaultDatabase_sf.koi
008SYS_INFO_sUSRForeignColumns.koi 020SYS_INFO_sUSRDataTrigger.koi
032APP_OperationsDes.koi jnl10
009SYS_INFO_sUSRSchemaInfo.koi 021APP_Relations.koi 033APP_Groups.koi
010SYS_INFO_sUSRDatabaseVars.koi 022APP_Categories.koi 034APP_GroupsDes.koi
011SYS_INFO_sUSRPassword.koi 023APP_Settings.koi 035APP_UserGroups.koi
You may consider a new install using Java 1.5 and Jetty.
Also, please note that when I switch to running GN with Jetty, it
actually works fine (to the extent that I have been able to play with
it). This is on the same machine with the same Java 1.6.
My problem is that I can't figure out how to keep Jetty running even
after I log out.
And, finally, even with Jetty, while I can get the intermap working,
and the site draws ok, the admin/admin login doesn't work. It
continues to give me a very unhelpful "NullPointerException" error.
Good luck,
JeroenOn Mar 26, 2008, at 12:15 AM, P Kishor wrote:
> Jeebuz. Why is this not documented? Or, did this, for some strange
> reason, only apply to me and you? I spent a few days spinning my
> wheels on this.
>
> Ok. So, now I am able to get all the interface stuff working,
> everything is coming up on the GN website, and it is all powered by
> Tomcat 6.
>
> I am still, however, getting the NullPointerException when I try to
> log in as admin/admin. What is the fu required to solve this?
--
Puneet Kishor http://punkish.eidesis.org/
Nelson Institute for Environmental Studies http://www.nelson.wisc.edu/
Open Source Geospatial Foundation (OSGeo) http://www.osgeo.org/
I haven't been following this thread closely, so this may not be helpful, but it might be worth a try:
There's a line in start-geonetwork.sh as follows:
java -Xms48m -Xmx512m -DSTOP.PORT=8079 -jar start.jar ../bin/jetty.xml &
and you might try putting a simple 'nohup' in front of that and a direct to a log after it:
nohup java -Xms48m -Xmx512m -DSTOP.PORT=8079 -jar start.jar ../bin/jetty.xml > mylogfile.log &
http://en.wikipedia.org/wiki/Nohup
---
A. Soroka / Digital Research & Scholarship Dep't : Digital Scholarship R&D
the University of Virginia Library
On Mar 26, 2008, at 10:08 AM, P Kishor wrote:
My problem is that I can't figure out how to keep Jetty running even
after I log out.