[GeoNetwork-devel] Re : What happend with my URL [SEC=UNCLASSIFIED]

Hi Pierre,

I also run Tomcat from within Eclipse. My server.xml file contains the following fragment:

<Valve className=“org.apache.catalina.valves.FastCommonAccessLogValve”

directory=“logs” prefix=“localhost_access_log.” suffix=“.txt”

pattern=“common” resolveHosts=“false”/>

I would make the point that adding elements to the server.xml file is OK for testing within Eclipse but is not recommended when using Tomcat as a standalone server.

Regards,

Steve

-----Original Message-----
From: Pierre Gourrier [mailto:pierre.gourrier@anonymised.com]
Sent: Wednesday, 22 October 2008 10:29
To: Davies Stephen
Subject: Re : [GeoNetwork-devel] What happend with my URL [SEC=UNCLASSIFIED]

Hi James and thank you for answering

In fact, I didn’t put GN in the WebApps folder. I’ve created (in the server.xml file). For ex for the geonetwork module, I’ve added in context section:


This is done within Eclipse. Is this good way to or not?
Meanwhile, I’m going to try your method and I’ll get you back.
Have a nice day.
Pierre.

----- Message d’origine ----
De : “Stephen.Davies@anonymised.comStephen.Davies@anonymised.com
À : geonetwork-devel@lists.sourceforge.net
Envoyé le : Mardi, 21 Octobre 2008, 19h09mn 22s
Objet : Re: [GeoNetwork-devel] What happend with my URL [SEC=UNCLASSIFIED]

Hi Pierre,
Sounds like Geonetwork has been deployed to Tomcat as the default application
(webapps/ROOT).

I configure Tomcat this way. A standard Geonetwork deployment consists of 3
web applications. These are geonetwrk, intermap and geoserver. You need to
create 3 context files, one for each application, in the
conf/Catalina/localhost directory. The files should be called geonetwork.xml,
intermap.xml and geoserver.xml.

My geonetwork.xml file contains:

<?xml version="1.0" encoding="UTF-8"?>

Copy this template 3 times and then modify the docBase attribute to match
your local file setup. When using this configuration do not put the
application files under the Tomcat webapps directory, the applications will
fail to deploy.

For more information on Tomcat configuration see
http://tomcat.apache.org/tomcat-5.5-doc/config/index.html.

Regards,
Steve
-----Original Message-----
From: pierre.gourrier [mailto:pierre.gourrier@anonymised.com]
Sent: Wednesday, 22 October 2008 5:01
To: geonetwork-devel@lists.sourceforge.net
Subject: [GeoNetwork-devel] What happend with my URL

Hello.
I’ve just finished customizing a GN application (from the trunk) for the
needs of my company.
I’m going to deploy this new GN on the Web (so Tomcat integrated in Apache).
I got a problem!!
My entire URL is not well formed. I’ll explain.
In my localhost, a service (for example the login service) is pointed like
this http://localhost:8080/srv/en/user.login
If I look in the standard GN (from the installer) this URL is

http://localhost:8080/geonetwork/srv/en/user.login

Where did this /geonetwork go in my application? How can I do to get my URL
well formed?

Can you help me?
Thanks
Pierre Gourrier

View this message in context:
http://www.nabble.com/What-happend-with-my-URL-tp20095975p20095975.html
Sent from the geonetwork-devel mailing list archive at Nabble.com.


This SF.Net email is sponsored by the Moblin Your Move Developer’s challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork


This SF.Net email is sponsored by the Moblin Your Move Developer’s challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect…php?banner_id=100&url=/


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork