Somebody has tried to run Geoserver and Geonetwork using the same Java
container? I did some test without success.
What I do is open just one port on the server (9999) running both apps with the
same servlet:
example.com:9999/geoserver
example.com:9999/geonetwork
... ideas? I'm not Java programmer
Eduin
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
Regístrate ya - http://correo.espanol.yahoo.com/
I've had older versions working together fine, both in tomcat. What didn't work? Could you access either? What kind of errors?
Eduin Carrillo wrote:
Somebody has tried to run Geoserver and Geonetwork using the same Java
container? I did some test without success.
What I do is open just one port on the server (9999) running both apps with the
same servlet:
example.com:9999/geoserver
example.com:9999/geonetwork
... ideas? I'm not Java programmer
Eduin
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! Regístrate ya - http://correo.espanol.yahoo.com/
-------------------------------------------------------------------------
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
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
!DSPAM:1003,44b426e5262761425493344!
--
Chris Holmes
The Open Planning Project
http://topp.openplans.org
I do this:
- Install Geonetwork at port 9998: It works fine
- Modify /usr/local/geoserver/documents/jetty.xml adding these lines inside
<Configure></Configure>
<Call name="addWebApplication">
<Arg>/geonetwork</Arg>
<Arg>../web</Arg>
</Call>
<Call name="addWebApplication">
<Arg>/geonetwork/intermap</Arg>
<Arg>../web-intermap</Arg>
</Call>
These lines were token from /usr/local/geonetwork/bin/jetty.xml
- Move directories geonetwork/web and geonetwork/web-intermap to
/usr/local/geoserver/
- Restart geoserver
Log:
[root@anonymised.com bin]# /usr/local/geoserver/bin/startup.sh
GEOSERVER DATA DIR is /mapas/geoserver/
18:36:17.101 EVENT Checking Resource aliases
18:36:18.478 EVENT Starting Jetty/4.2.21
18:36:18.507 EVENT Started ServletHttpContext[/]
18:36:18.514 EVENT Started SocketListener on 127.0.0.1:8081
18:36:18.514 EVENT Started org.mortbay.jetty.Server@anonymised.com
18:36:18.591 EVENT Starting Jetty/4.2.21
18:36:18.605 WARN!! Web application not found /web
18:36:18.608 WARN!! Configuration error on /web
java.io.FileNotFoundException: /web
at
org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:352)
at org.mortbay.http.HttpServer.start(HttpServer.java:663)
at org.mortbay.jetty.Server.main(Server.java:429)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.mortbay.start.Main.invokeMain(Main.java:152)
at org.mortbay.start.Main.start(Main.java:482)
at org.mortbay.start.Main.main(Main.java:90)
19:08:10.100 WARN!! Web application not found /web-intermap
19:08:10.101 WARN!! Configuration error on /web-intermap
java.io.FileNotFoundException: /web-intermap
at
org.mortbay.jetty.servlet.WebApplicationContext.resolveWebApp(WebApplicationContext.java:249)
at
org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:352)
at org.mortbay.http.HttpServer.start(HttpServer.java:663)
at org.mortbay.jetty.Server.main(Server.java:429)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.mortbay.start.Main.invokeMain(Main.java:152)
at org.mortbay.start.Main.start(Main.java:482)
at org.mortbay.start.Main.main(Main.java:90)
Eduin
--- Chris Holmes <cholmes@anonymised.com> escribió:
I've had older versions working together fine, both in tomcat. What
didn't work? Could you access either? What kind of errors?
Eduin Yezid Carrillo Vega
GIS Specialist
http://eduinyezid.carrillovega.com
http://sig.cas.gov.co/~yecarrillo
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
Regístrate ya - http://correo.espanol.yahoo.com/
Hmmmm... I think it should work, but perhaps there's another place in Jetty that it needs to be added. Did you try the other way, adding GeoServer war to geonetwork?
Wait, did you actually move the geonetwork files over to the geoserver/server/ directory? That may be the step you're missing? Because it's different instances of jetty, that are expecting it in different places? If geonetwork doesn't have a war download than just putting the geoserver.war in the same directory as the geonetwork install might work (and modify geoserver/WEB-INF/web.xml to point at your data dir).
Perhaps the geonetwork guys have experience running both geoserver and geonetwork on the same appserver?
Chris
Eduin Carrillo wrote:
I do this:
- Install Geonetwork at port 9998: It works fine
- Modify /usr/local/geoserver/documents/jetty.xml adding these lines inside
<Configure></Configure>
<Call name="addWebApplication">
<Arg>/geonetwork</Arg>
<Arg>../web</Arg>
</Call>
<Call name="addWebApplication">
<Arg>/geonetwork/intermap</Arg>
<Arg>../web-intermap</Arg>
</Call>
These lines were token from /usr/local/geonetwork/bin/jetty.xml
- Move directories geonetwork/web and geonetwork/web-intermap to
/usr/local/geoserver/
- Restart geoserver
Log:
[root@anonymised.com bin]# /usr/local/geoserver/bin/startup.sh
GEOSERVER DATA DIR is /mapas/geoserver/
18:36:17.101 EVENT Checking Resource aliases
18:36:18.478 EVENT Starting Jetty/4.2.21
18:36:18.507 EVENT Started ServletHttpContext[/]
18:36:18.514 EVENT Started SocketListener on 127.0.0.1:8081
18:36:18.514 EVENT Started org.mortbay.jetty.Server@anonymised.com
18:36:18.591 EVENT Starting Jetty/4.2.21
18:36:18.605 WARN!! Web application not found /web
18:36:18.608 WARN!! Configuration error on /web
java.io.FileNotFoundException: /web
at
org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:352)
at org.mortbay.http.HttpServer.start(HttpServer.java:663)
at org.mortbay.jetty.Server.main(Server.java:429)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.mortbay.start.Main.invokeMain(Main.java:152)
at org.mortbay.start.Main.start(Main.java:482)
at org.mortbay.start.Main.main(Main.java:90)
19:08:10.100 WARN!! Web application not found /web-intermap
19:08:10.101 WARN!! Configuration error on /web-intermap
java.io.FileNotFoundException: /web-intermap
at
org.mortbay.jetty.servlet.WebApplicationContext.resolveWebApp(WebApplicationContext.java:249)
at
org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:352)
at org.mortbay.http.HttpServer.start(HttpServer.java:663)
at org.mortbay.jetty.Server.main(Server.java:429)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.mortbay.start.Main.invokeMain(Main.java:152)
at org.mortbay.start.Main.start(Main.java:482)
at org.mortbay.start.Main.main(Main.java:90)
Eduin
--- Chris Holmes <cholmes@anonymised.com> escribió:
I've had older versions working together fine, both in tomcat. What didn't work? Could you access either? What kind of errors?
Eduin Yezid Carrillo Vega
GIS Specialist
http://eduinyezid.carrillovega.com
http://sig.cas.gov.co/~yecarrillo
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! Regístrate ya - http://correo.espanol.yahoo.com/
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
!DSPAM:1003,44bd7896277641702038478!
--
Chris Holmes
The Open Planning Project
http://topp.openplans.org
Hello Chriss....
I'm working with geonetwork too
now I'm starting to deploy geoserver as the map server...
I've download and install the geoserver 1.3.0a
then copy geoserver dir to tomcat/webapps directory so it can be running
automatically....
is there any some configuration again to make it run together???
can you mention it ???
sorry, I'm new in this stuff too
thanx before...
Chris Holmes wrote:
Hmmmm... I think it should work, but perhaps there's another place in
Jetty that it needs to be added. Did you try the other way, adding
GeoServer war to geonetwork?
Wait, did you actually move the geonetwork files over to the
geoserver/server/ directory? That may be the step you're missing?
Because it's different instances of jetty, that are expecting it in
different places? If geonetwork doesn't have a war download than just
putting the geoserver.war in the same directory as the geonetwork
install might work (and modify geoserver/WEB-INF/web.xml to point at
your data dir).
Perhaps the geonetwork guys have experience running both geoserver and
geonetwork on the same appserver?
Chris
Eduin Carrillo wrote:
I do this:
- Install Geonetwork at port 9998: It works fine
- Modify /usr/local/geoserver/documents/jetty.xml adding these lines
inside
<Configure></Configure>
<Call name="addWebApplication">
<Arg>/geonetwork</Arg>
<Arg>../web</Arg>
</Call>
<Call name="addWebApplication">
<Arg>/geonetwork/intermap</Arg>
<Arg>../web-intermap</Arg>
</Call>
These lines were token from /usr/local/geonetwork/bin/jetty.xml
- Move directories geonetwork/web and geonetwork/web-intermap to
/usr/local/geoserver/
- Restart geoserver
Log:
[root@anonymised.com bin]# /usr/local/geoserver/bin/startup.sh
GEOSERVER DATA DIR is /mapas/geoserver/
18:36:17.101 EVENT Checking Resource aliases
18:36:18.478 EVENT Starting Jetty/4.2.21
18:36:18.507 EVENT Started ServletHttpContext[/]
18:36:18.514 EVENT Started SocketListener on 127.0.0.1:8081
18:36:18.514 EVENT Started org.mortbay.jetty.Server@anonymised.com
18:36:18.591 EVENT Starting Jetty/4.2.21
18:36:18.605 WARN!! Web application not found /web
18:36:18.608 WARN!! Configuration error on /web
java.io.FileNotFoundException: /web
at
org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:352)
at org.mortbay.http.HttpServer.start(HttpServer.java:663)
at org.mortbay.jetty.Server.main(Server.java:429)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.mortbay.start.Main.invokeMain(Main.java:152)
at org.mortbay.start.Main.start(Main.java:482)
at org.mortbay.start.Main.main(Main.java:90)
19:08:10.100 WARN!! Web application not found /web-intermap
19:08:10.101 WARN!! Configuration error on /web-intermap
java.io.FileNotFoundException: /web-intermap
at
org.mortbay.jetty.servlet.WebApplicationContext.resolveWebApp(WebApplicationContext.java:249)
at
org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:352)
at org.mortbay.http.HttpServer.start(HttpServer.java:663)
at org.mortbay.jetty.Server.main(Server.java:429)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.mortbay.start.Main.invokeMain(Main.java:152)
at org.mortbay.start.Main.start(Main.java:482)
at org.mortbay.start.Main.main(Main.java:90)
Eduin
--- Chris Holmes <cholmes@anonymised.com> escribió:
I've had older versions working together fine, both in tomcat. What
didn't work? Could you access either? What kind of errors?
Eduin Yezid Carrillo Vega
GIS Specialist
http://eduinyezid.carrillovega.com
http://sig.cas.gov.co/~yecarrillo
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
Regístrate ya - http://correo.espanol.yahoo.com/
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
!DSPAM:1003,44bd7896277641702038478!
--
Chris Holmes
The Open Planning Project
http://topp.openplans.org
begin:vcard
fn:Chris Holmes
n:Holmes;Chris
org:The Open Planning Project
adr:;;377 Broadway, 11th Floor;New York;NY;10013;USA
email;internet:cholmes@anonymised.com
title:VP, Strategic Development
x-mozilla-html:FALSE
url:http://topp.openplans.org
version:2.1
end:vcard
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
View this message in context: http://www.nabble.com/Running-Geoserver---Geonetwork-tf1927681.html#a5886813
Sent from the GeoServer - User forum at Nabble.com.