[GeoNetwork-users] two gn instances with one tomcat

Hi all,

I want to run two geonetworks (2.4.1 and 2.4.2) top of my tomcat. 2.4.1 was
put up. So I copied the three web folders (geonetwork, geoserver, intermap -
renamed to geonetwork2,..) to webapps folder of tomcat and modified
server.xml. At start-geonetwork.sh I changed --DSTOP.PORT to 8078.
At tomcat manager I see that geonetwork2, geoserver2 amd intermap2 weren´t
started and could not be started.
What did I miss?

Thanks.

best regards
Sarah
--
View this message in context: http://n2.nabble.com/two-gn-instances-with-one-tomcat-tp3932679p3932679.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

What errors appear in logs/catalina.out?

---
A. Soroka
Digital Research and Scholarship R & D
the University of Virginia Library

On Nov 2, 2009, at 11:08 AM, Sarah_S wrote:

Hi all,

I want to run two geonetworks (2.4.1 and 2.4.2) top of my tomcat. 2.4.1 was
put up. So I copied the three web folders (geonetwork, geoserver, intermap -
renamed to geonetwork2,..) to webapps folder of tomcat and modified
server.xml. At start-geonetwork.sh I changed --DSTOP.PORT to 8078.
At tomcat manager I see that geonetwork2, geoserver2 amd intermap2 weren´t
started and could not be started.
What did I miss?

Thanks.

best regards
Sarah
--
View this message in context: http://n2.nabble.com/two-gn-instances-with-one-tomcat-tp3932679p3932679.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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 for the fast answer!

here is my catalina.2009-11-02 log:
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 13:26:24 org.apache.catalina.startup.HostConfig checkResources
INFO: Reloading context [/geonetwork2]
02.11.2009 13:51:28
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore <init>
SCHWERWIEGEND: null
02.11.2009 13:51:31 org.geotools.factory.FactoryRegistry scanForPlugins
WARNUNG: Can't load a service for category "CoordinateOperationFactory".
Cause is "NoClassDefFoundError: javax/vecmath/SingularMatrixException".
02.11.2009 13:51:31 org.geotools.factory.FactoryRegistry scanForPlugins
WARNUNG: Can't load a service for category "CoordinateOperationFactory".
Cause is "NoClassDefFoundError: javax/vecmath/SingularMatrixException".
02.11.2009 13:51:34 org.geotools.data.shapefile.ShapefileDataStore
createSchema
WARNUNG: PRJ file not generated for null CoordinateReferenceSystem
02.11.2009 13:51:39
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore <init>
SCHWERWIEGEND: null
02.11.2009 13:51:39 org.geotools.data.shapefile.ShapefileDataStore
createSchema
WARNUNG: PRJ file not generated for null CoordinateReferenceSystem
02.11.2009 13:53:33 org.geotools.factory.FactoryRegistry scanForPlugins
WARNUNG: Can't load a service for category "ConverterFactory". Cause is
"NoClassDefFoundError: org/apache/commons/beanutils/Converter".
02.11.2009 13:54:35 org.apache.catalina.core.StandardContext start
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/geonetwork2]
has already been started
02.11.2009 13:58:03 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error listenerStart
02.11.2009 13:58:03 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/geoserver2] startup failed due to previous errors
02.11.2009 14:05:23 org.wfp.vam.intermap.services.wmc.MailWmcContext init
WARNUNG: *** The mailserver config property has not been set. WMC mail will
not be available.
02.11.2009 14:07:39 org.apache.tomcat.util.http.Parameters processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:07:44 org.apache.tomcat.util.http.Parameters processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:08:46 org.apache.tomcat.util.http.Parameters processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:08:46 org.apache.tomcat.util.http.Parameters processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:11:45 org.apache.tomcat.util.http.Parameters processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:11:45 org.apache.tomcat.util.http.Parameters processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 15:30:17 org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.16.
02.11.2009 15:30:17 org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters
[false], random [true].
02.11.2009 15:30:19 org.apache.coyote.http11.Http11AprProtocol init
SCHWERWIEGEND: Error initializing endpoint
java.lang.Exception: Socket bind failed: [730048] Normalerweise darf jede
Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur jeweils einmal
verwendet werden.
  at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:623)
  at
org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:107)
  at org.apache.catalina.connector.Connector.initialize(Connector.java:1058)
  at
org.apache.catalina.core.StandardService.initialize(StandardService.java:677)
  at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:535)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:555)
  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:597)
  at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
02.11.2009 15:30:19 org.apache.catalina.startup.Catalina load
SCHWERWIEGEND: Catalina.start
LifecycleException: Protocol handler initialization failed:
java.lang.Exception: Socket bind failed: [730048] Normalerweise darf jede
Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur jeweils einmal
verwendet werden.
  at org.apache.catalina.connector.Connector.initialize(Connector.java:1060)
  at
org.apache.catalina.core.StandardService.initialize(StandardService.java:677)
  at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:535)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:555)
  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:597)
  at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
02.11.2009 15:30:19 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2448 ms
02.11.2009 15:30:20 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
02.11.2009 15:30:20 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
02.11.2009 15:30:20 org.apache.catalina.core.StandardContext resourcesStart
SCHWERWIEGEND: Error starting static Resources
java.lang.IllegalArgumentException: Document base
C:\temp\geonetwork242\web\geonetwork does not exist or is not a readable
directory
  at
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:142)
  at
org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4048)
  at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4217)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
  at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
  at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
  at org.apache.catalina.core.StandardService.start(StandardService.java:516)
  at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
  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:597)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:30:20 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error in resourceStart()
02.11.2009 15:30:21 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error getConfigured
02.11.2009 15:30:21 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/geonetwork2] startup failed due to previous errors
02.11.2009 15:30:21 org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/geonetwork2]
has not been started
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext resourcesStart
SCHWERWIEGEND: Error starting static Resources
java.lang.IllegalArgumentException: Document base
C:\temp\geonetwork242\web\geoserver does not exist or is not a readable
directory
  at
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:142)
  at
org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4048)
  at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4217)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
  at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
  at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
  at org.apache.catalina.core.StandardService.start(StandardService.java:516)
  at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
  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:597)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error in resourceStart()
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error getConfigured
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/geoserver2] startup failed due to previous errors
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/geoserver2]
has not been started
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext resourcesStart
SCHWERWIEGEND: Error starting static Resources
java.lang.IllegalArgumentException: Document base
C:\temp\geonetwork242\web\intermap does not exist or is not a readable
directory
  at
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:142)
  at
org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4048)
  at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4217)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
  at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
  at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
  at org.apache.catalina.core.StandardService.start(StandardService.java:516)
  at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
  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:597)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error in resourceStart()
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error getConfigured
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/intermap2] startup failed due to previous errors
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/intermap2]
has not been started
02.11.2009 15:34:20 org.wfp.vam.intermap.services.wmc.MailWmcContext init
WARNUNG: *** The mailserver config property has not been set. WMC mail will
not be available.
02.11.2009 15:34:22 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive servlet.war
02.11.2009 15:34:22 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive wfsconnector.war
02.11.2009 15:34:22 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive wmsconnector.war
02.11.2009 15:34:23 org.apache.coyote.http11.Http11AprProtocol start
SCHWERWIEGEND: Error starting endpoint
java.lang.Exception: Socket bind failed: [730048] Normalerweise darf jede
Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur jeweils einmal
verwendet werden.
  at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:623)
  at org.apache.tomcat.util.net.AprEndpoint.start(AprEndpoint.java:730)
  at
org.apache.coyote.http11.Http11AprProtocol.start(Http11AprProtocol.java:137)
  at org.apache.catalina.connector.Connector.start(Connector.java:1131)
  at org.apache.catalina.core.StandardService.start(StandardService.java:531)
  at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
  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:597)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:34:23 org.apache.catalina.startup.Catalina start
SCHWERWIEGEND: Catalina.start:
LifecycleException: service.getName(): "Catalina"; Protocol handler start
failed: java.lang.Exception: Socket bind failed: [730048] Normalerweise darf
jede Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur jeweils
einmal verwendet werden.
  at org.apache.catalina.connector.Connector.start(Connector.java:1138)
  at org.apache.catalina.core.StandardService.start(StandardService.java:531)
  at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
  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:597)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:34:23 org.apache.catalina.startup.Catalina start
INFO: Server startup in 243136 ms
02.11.2009 15:34:23 org.apache.catalina.core.StandardServer await
SCHWERWIEGEND: StandardServer.await: create[8005]:
java.net.BindException: Address already in use: JVM_Bind
  at java.net.PlainSocketImpl.socketBind(Native Method)
  at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
  at java.net.ServerSocket.bind(ServerSocket.java:319)
  at java.net.ServerSocket.<init>(ServerSocket.java:185)
  at org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
  at org.apache.catalina.startup.Catalina.await(Catalina.java:647)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:607)
  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:597)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

I have to make some changes at some files- but don´t exactly know which one.
Thanks

best regards
Sarah

ajs6f@anonymised.com wrote:

What errors appear in logs/catalina.out?

---
A. Soroka
Digital Research and Scholarship R & D
the University of Virginia Library

On Nov 2, 2009, at 11:08 AM, Sarah_S wrote:

Hi all,

I want to run two geonetworks (2.4.1 and 2.4.2) top of my tomcat.
2.4.1 was
put up. So I copied the three web folders (geonetwork, geoserver,
intermap -
renamed to geonetwork2,..) to webapps folder of tomcat and modified
server.xml. At start-geonetwork.sh I changed --DSTOP.PORT to 8078.
At tomcat manager I see that geonetwork2, geoserver2 amd intermap2
weren´t
started and could not be started.
What did I miss?

Thanks.

best regards
Sarah
--
View this message in context:
http://n2.nabble.com/two-gn-instances-with-one-tomcat-tp3932679p3932679.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart
your
developing skills, take BlackBerry mobile applications to market and
stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

--
View this message in context: http://n2.nabble.com/two-gn-instances-with-one-tomcat-tp3932679p3932768.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

What are the folders that are now in your tomcat/webapps directory? Are you trying to run both Tomcat and Jetty at the same time?
---
A. Soroka
Digital Research and Scholarship R & D
the University of Virginia Library

On Nov 2, 2009, at 11:22 AM, Sarah_S wrote:

Thanks for the fast answer!

here is my catalina.2009-11-02 log:
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 13:26:24 org.apache.catalina.startup.HostConfig checkResources
INFO: Reloading context [/geonetwork2]
02.11.2009 13:51:28
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore <init>
SCHWERWIEGEND: null
02.11.2009 13:51:31 org.geotools.factory.FactoryRegistry scanForPlugins
WARNUNG: Can't load a service for category "CoordinateOperationFactory".
Cause is "NoClassDefFoundError: javax/vecmath/SingularMatrixException".
02.11.2009 13:51:31 org.geotools.factory.FactoryRegistry scanForPlugins
WARNUNG: Can't load a service for category "CoordinateOperationFactory".
Cause is "NoClassDefFoundError: javax/vecmath/SingularMatrixException".
02.11.2009 13:51:34 org.geotools.data.shapefile.ShapefileDataStore
createSchema
WARNUNG: PRJ file not generated for null CoordinateReferenceSystem
02.11.2009 13:51:39
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore <init>
SCHWERWIEGEND: null
02.11.2009 13:51:39 org.geotools.data.shapefile.ShapefileDataStore
createSchema
WARNUNG: PRJ file not generated for null CoordinateReferenceSystem
02.11.2009 13:53:33 org.geotools.factory.FactoryRegistry scanForPlugins
WARNUNG: Can't load a service for category "ConverterFactory". Cause is
"NoClassDefFoundError: org/apache/commons/beanutils/Converter".
02.11.2009 13:54:35 org.apache.catalina.core.StandardContext start
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/geonetwork2]
has already been started
02.11.2009 13:58:03 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error listenerStart
02.11.2009 13:58:03 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/geoserver2] startup failed due to previous errors
02.11.2009 14:05:23 org.wfp.vam.intermap.services.wmc.MailWmcContext init
WARNUNG: *** The mailserver config property has not been set. WMC mail will
not be available.
02.11.2009 14:07:39 org.apache.tomcat.util.http.Parameters processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:07:44 org.apache.tomcat.util.http.Parameters processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:08:46 org.apache.tomcat.util.http.Parameters processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:08:46 org.apache.tomcat.util.http.Parameters processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:11:45 org.apache.tomcat.util.http.Parameters processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:11:45 org.apache.tomcat.util.http.Parameters processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 15:30:17 org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.16.
02.11.2009 15:30:17 org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters
[false], random [true].
02.11.2009 15:30:19 org.apache.coyote.http11.Http11AprProtocol init
SCHWERWIEGEND: Error initializing endpoint
java.lang.Exception: Socket bind failed: [730048] Normalerweise darf jede
Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur jeweils einmal
verwendet werden.
  at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:623)
  at
org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:107)
  at org.apache.catalina.connector.Connector.initialize(Connector.java:1058)
  at
org.apache.catalina.core.StandardService.initialize(StandardService.java:677)
  at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:535)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:555)
  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:597)
  at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
02.11.2009 15:30:19 org.apache.catalina.startup.Catalina load
SCHWERWIEGEND: Catalina.start
LifecycleException: Protocol handler initialization failed:
java.lang.Exception: Socket bind failed: [730048] Normalerweise darf jede
Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur jeweils einmal
verwendet werden.
  at org.apache.catalina.connector.Connector.initialize(Connector.java:1060)
  at
org.apache.catalina.core.StandardService.initialize(StandardService.java:677)
  at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:535)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:555)
  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:597)
  at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
02.11.2009 15:30:19 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2448 ms
02.11.2009 15:30:20 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
02.11.2009 15:30:20 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
02.11.2009 15:30:20 org.apache.catalina.core.StandardContext resourcesStart
SCHWERWIEGEND: Error starting static Resources
java.lang.IllegalArgumentException: Document base
C:\temp\geonetwork242\web\geonetwork does not exist or is not a readable
directory
  at
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:142)
  at
org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4048)
  at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4217)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
  at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
  at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
  at org.apache.catalina.core.StandardService.start(StandardService.java:516)
  at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
  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:597)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:30:20 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error in resourceStart()
02.11.2009 15:30:21 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error getConfigured
02.11.2009 15:30:21 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/geonetwork2] startup failed due to previous errors
02.11.2009 15:30:21 org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/geonetwork2]
has not been started
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext resourcesStart
SCHWERWIEGEND: Error starting static Resources
java.lang.IllegalArgumentException: Document base
C:\temp\geonetwork242\web\geoserver does not exist or is not a readable
directory
  at
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:142)
  at
org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4048)
  at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4217)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
  at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
  at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
  at org.apache.catalina.core.StandardService.start(StandardService.java:516)
  at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
  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:597)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error in resourceStart()
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error getConfigured
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/geoserver2] startup failed due to previous errors
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/geoserver2]
has not been started
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext resourcesStart
SCHWERWIEGEND: Error starting static Resources
java.lang.IllegalArgumentException: Document base
C:\temp\geonetwork242\web\intermap does not exist or is not a readable
directory
  at
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:142)
  at
org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4048)
  at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4217)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
  at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
  at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
  at org.apache.catalina.core.StandardService.start(StandardService.java:516)
  at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
  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:597)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error in resourceStart()
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error getConfigured
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/intermap2] startup failed due to previous errors
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/intermap2]
has not been started
02.11.2009 15:34:20 org.wfp.vam.intermap.services.wmc.MailWmcContext init
WARNUNG: *** The mailserver config property has not been set. WMC mail will
not be available.
02.11.2009 15:34:22 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive servlet.war
02.11.2009 15:34:22 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive wfsconnector.war
02.11.2009 15:34:22 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive wmsconnector.war
02.11.2009 15:34:23 org.apache.coyote.http11.Http11AprProtocol start
SCHWERWIEGEND: Error starting endpoint
java.lang.Exception: Socket bind failed: [730048] Normalerweise darf jede
Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur jeweils einmal
verwendet werden.
  at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:623)
  at org.apache.tomcat.util.net.AprEndpoint.start(AprEndpoint.java:730)
  at
org.apache.coyote.http11.Http11AprProtocol.start(Http11AprProtocol.java:137)
  at org.apache.catalina.connector.Connector.start(Connector.java:1131)
  at org.apache.catalina.core.StandardService.start(StandardService.java:531)
  at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
  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:597)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:34:23 org.apache.catalina.startup.Catalina start
SCHWERWIEGEND: Catalina.start:
LifecycleException: service.getName(): "Catalina"; Protocol handler start
failed: java.lang.Exception: Socket bind failed: [730048] Normalerweise darf
jede Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur jeweils
einmal verwendet werden.
  at org.apache.catalina.connector.Connector.start(Connector.java:1138)
  at org.apache.catalina.core.StandardService.start(StandardService.java:531)
  at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
  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:597)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:34:23 org.apache.catalina.startup.Catalina start
INFO: Server startup in 243136 ms
02.11.2009 15:34:23 org.apache.catalina.core.StandardServer await
SCHWERWIEGEND: StandardServer.await: create[8005]:
java.net.BindException: Address already in use: JVM_Bind
  at java.net.PlainSocketImpl.socketBind(Native Method)
  at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
  at java.net.ServerSocket.bind(ServerSocket.java:319)
  at java.net.ServerSocket.<init>(ServerSocket.java:185)
  at org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
  at org.apache.catalina.startup.Catalina.await(Catalina.java:647)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:607)
  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:597)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

I have to make some changes at some files- but don´t exactly know which one.
Thanks

best regards
Sarah

ajs6f@anonymised.com wrote:

What errors appear in logs/catalina.out?

---
A. Soroka
Digital Research and Scholarship R & D
the University of Virginia Library

On Nov 2, 2009, at 11:08 AM, Sarah_S wrote:

Hi all,

I want to run two geonetworks (2.4.1 and 2.4.2) top of my tomcat.
2.4.1 was
put up. So I copied the three web folders (geonetwork, geoserver,
intermap -
renamed to geonetwork2,..) to webapps folder of tomcat and modified
server.xml. At start-geonetwork.sh I changed --DSTOP.PORT to 8078.
At tomcat manager I see that geonetwork2, geoserver2 amd intermap2
weren´t
started and could not be started.
What did I miss?

Thanks.

best regards
Sarah
--
View this message in context:
http://n2.nabble.com/two-gn-instances-with-one-tomcat-tp3932679p3932679.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart
your
developing skills, take BlackBerry mobile applications to market and
stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

--
View this message in context: http://n2.nabble.com/two-gn-instances-with-one-tomcat-tp3932679p3932768.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

I´m having geonetwork, geonetwork2, geoserver, geoserver2, intermap and
intermap2 at my webapps folder.
I don´t want to run jetty. So I was looking at the HowToRunUnderTomcat but
think that I missed something.

Thanks.

best regards
Sarah

ajs6f@anonymised.com wrote:

What are the folders that are now in your tomcat/webapps directory?
Are you trying to run both Tomcat and Jetty at the same time?
---
A. Soroka
Digital Research and Scholarship R & D
the University of Virginia Library

On Nov 2, 2009, at 11:22 AM, Sarah_S wrote:

Thanks for the fast answer!

here is my catalina.2009-11-02 log:
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 13:26:24 org.apache.catalina.startup.HostConfig
checkResources
INFO: Reloading context [/geonetwork2]
02.11.2009 13:51:28
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore <init>
SCHWERWIEGEND: null
02.11.2009 13:51:31 org.geotools.factory.FactoryRegistry
scanForPlugins
WARNUNG: Can't load a service for category
"CoordinateOperationFactory".
Cause is "NoClassDefFoundError: javax/vecmath/
SingularMatrixException".
02.11.2009 13:51:31 org.geotools.factory.FactoryRegistry
scanForPlugins
WARNUNG: Can't load a service for category
"CoordinateOperationFactory".
Cause is "NoClassDefFoundError: javax/vecmath/
SingularMatrixException".
02.11.2009 13:51:34 org.geotools.data.shapefile.ShapefileDataStore
createSchema
WARNUNG: PRJ file not generated for null CoordinateReferenceSystem
02.11.2009 13:51:39
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore <init>
SCHWERWIEGEND: null
02.11.2009 13:51:39 org.geotools.data.shapefile.ShapefileDataStore
createSchema
WARNUNG: PRJ file not generated for null CoordinateReferenceSystem
02.11.2009 13:53:33 org.geotools.factory.FactoryRegistry
scanForPlugins
WARNUNG: Can't load a service for category "ConverterFactory". Cause
is
"NoClassDefFoundError: org/apache/commons/beanutils/Converter".
02.11.2009 13:54:35 org.apache.catalina.core.StandardContext start
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/
geonetwork2]
has already been started
02.11.2009 13:58:03 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error listenerStart
02.11.2009 13:58:03 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/geoserver2] startup failed due to previous
errors
02.11.2009 14:05:23 org.wfp.vam.intermap.services.wmc.MailWmcContext
init
WARNUNG: *** The mailserver config property has not been set. WMC
mail will
not be available.
02.11.2009 14:07:39 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:07:44 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:08:46 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:08:46 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:11:45 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:11:45 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 15:30:17 org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.16.
02.11.2009 15:30:17 org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters
[false], random [true].
02.11.2009 15:30:19 org.apache.coyote.http11.Http11AprProtocol init
SCHWERWIEGEND: Error initializing endpoint
java.lang.Exception: Socket bind failed: [730048] Normalerweise darf
jede
Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur
jeweils einmal
verwendet werden.
  at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:623)
  at
org.apache.coyote.http11.Http11AprProtocol.init
(Http11AprProtocol.java:107)
  at org.apache.catalina.connector.Connector.initialize
(Connector.java:1058)
  at
org.apache.catalina.core.StandardService.initialize
(StandardService.java:677)
  at
org.apache.catalina.core.StandardServer.initialize
(StandardServer.java:795)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:535)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:555)
  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:597)
  at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
02.11.2009 15:30:19 org.apache.catalina.startup.Catalina load
SCHWERWIEGEND: Catalina.start
LifecycleException: Protocol handler initialization failed:
java.lang.Exception: Socket bind failed: [730048] Normalerweise darf
jede
Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur
jeweils einmal
verwendet werden.
  at org.apache.catalina.connector.Connector.initialize
(Connector.java:1060)
  at
org.apache.catalina.core.StandardService.initialize
(StandardService.java:677)
  at
org.apache.catalina.core.StandardServer.initialize
(StandardServer.java:795)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:535)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:555)
  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:597)
  at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
02.11.2009 15:30:19 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2448 ms
02.11.2009 15:30:20 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
02.11.2009 15:30:20 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
02.11.2009 15:30:20 org.apache.catalina.core.StandardContext
resourcesStart
SCHWERWIEGEND: Error starting static Resources
java.lang.IllegalArgumentException: Document base
C:\temp\geonetwork242\web\geonetwork does not exist or is not a
readable
directory
  at
org.apache.naming.resources.FileDirContext.setDocBase
(FileDirContext.java:142)
  at
org.apache.catalina.core.StandardContext.resourcesStart
(StandardContext.java:4048)
  at
org.apache.catalina.core.StandardContext.start(StandardContext.java:
4217)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1045)
  at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1045)
  at org.apache.catalina.core.StandardEngine.start
(StandardEngine.java:443)
  at org.apache.catalina.core.StandardService.start
(StandardService.java:516)
  at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
  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:597)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:30:20 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error in resourceStart()
02.11.2009 15:30:21 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error getConfigured
02.11.2009 15:30:21 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/geonetwork2] startup failed due to previous
errors
02.11.2009 15:30:21 org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/
geonetwork2]
has not been started
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext
resourcesStart
SCHWERWIEGEND: Error starting static Resources
java.lang.IllegalArgumentException: Document base
C:\temp\geonetwork242\web\geoserver does not exist or is not a
readable
directory
  at
org.apache.naming.resources.FileDirContext.setDocBase
(FileDirContext.java:142)
  at
org.apache.catalina.core.StandardContext.resourcesStart
(StandardContext.java:4048)
  at
org.apache.catalina.core.StandardContext.start(StandardContext.java:
4217)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1045)
  at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1045)
  at org.apache.catalina.core.StandardEngine.start
(StandardEngine.java:443)
  at org.apache.catalina.core.StandardService.start
(StandardService.java:516)
  at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
  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:597)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error in resourceStart()
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error getConfigured
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/geoserver2] startup failed due to previous
errors
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/
geoserver2]
has not been started
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext
resourcesStart
SCHWERWIEGEND: Error starting static Resources
java.lang.IllegalArgumentException: Document base
C:\temp\geonetwork242\web\intermap does not exist or is not a readable
directory
  at
org.apache.naming.resources.FileDirContext.setDocBase
(FileDirContext.java:142)
  at
org.apache.catalina.core.StandardContext.resourcesStart
(StandardContext.java:4048)
  at
org.apache.catalina.core.StandardContext.start(StandardContext.java:
4217)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1045)
  at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1045)
  at org.apache.catalina.core.StandardEngine.start
(StandardEngine.java:443)
  at org.apache.catalina.core.StandardService.start
(StandardService.java:516)
  at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
  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:597)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error in resourceStart()
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error getConfigured
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/intermap2] startup failed due to previous
errors
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/
intermap2]
has not been started
02.11.2009 15:34:20 org.wfp.vam.intermap.services.wmc.MailWmcContext
init
WARNUNG: *** The mailserver config property has not been set. WMC
mail will
not be available.
02.11.2009 15:34:22 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive servlet.war
02.11.2009 15:34:22 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive wfsconnector.war
02.11.2009 15:34:22 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive wmsconnector.war
02.11.2009 15:34:23 org.apache.coyote.http11.Http11AprProtocol start
SCHWERWIEGEND: Error starting endpoint
java.lang.Exception: Socket bind failed: [730048] Normalerweise darf
jede
Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur
jeweils einmal
verwendet werden.
  at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:623)
  at org.apache.tomcat.util.net.AprEndpoint.start(AprEndpoint.java:730)
  at
org.apache.coyote.http11.Http11AprProtocol.start
(Http11AprProtocol.java:137)
  at org.apache.catalina.connector.Connector.start(Connector.java:1131)
  at org.apache.catalina.core.StandardService.start
(StandardService.java:531)
  at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
  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:597)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:34:23 org.apache.catalina.startup.Catalina start
SCHWERWIEGEND: Catalina.start:
LifecycleException: service.getName(): "Catalina"; Protocol
handler start
failed: java.lang.Exception: Socket bind failed: [730048]
Normalerweise darf
jede Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur
jeweils
einmal verwendet werden.
  at org.apache.catalina.connector.Connector.start(Connector.java:1138)
  at org.apache.catalina.core.StandardService.start
(StandardService.java:531)
  at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
  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:597)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:34:23 org.apache.catalina.startup.Catalina start
INFO: Server startup in 243136 ms
02.11.2009 15:34:23 org.apache.catalina.core.StandardServer await
SCHWERWIEGEND: StandardServer.await: create[8005]:
java.net.BindException: Address already in use: JVM_Bind
  at java.net.PlainSocketImpl.socketBind(Native Method)
  at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
  at java.net.ServerSocket.bind(ServerSocket.java:319)
  at java.net.ServerSocket.<init>(ServerSocket.java:185)
  at org.apache.catalina.core.StandardServer.await
(StandardServer.java:373)
  at org.apache.catalina.startup.Catalina.await(Catalina.java:647)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:607)
  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:597)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

I have to make some changes at some files- but don´t exactly know
which one.
Thanks

best regards
Sarah

ajs6f@anonymised.com wrote:

What errors appear in logs/catalina.out?

---
A. Soroka
Digital Research and Scholarship R & D
the University of Virginia Library

On Nov 2, 2009, at 11:08 AM, Sarah_S wrote:

Hi all,

I want to run two geonetworks (2.4.1 and 2.4.2) top of my tomcat.
2.4.1 was
put up. So I copied the three web folders (geonetwork, geoserver,
intermap -
renamed to geonetwork2,..) to webapps folder of tomcat and modified
server.xml. At start-geonetwork.sh I changed --DSTOP.PORT to 8078.
At tomcat manager I see that geonetwork2, geoserver2 amd intermap2
weren´t
started and could not be started.
What did I miss?

Thanks.

best regards
Sarah
--
View this message in context:
http://n2.nabble.com/two-gn-instances-with-one-tomcat-tp3932679p3932679.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart
your
developing skills, take BlackBerry mobile applications to market and
stay
ahead of the curve. Join us from November 9 - 12, 2009. Register
now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart
your
developing skills, take BlackBerry mobile applications to market
and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

--
View this message in context:
http://n2.nabble.com/two-gn-instances-with-one-tomcat-tp3932679p3932768.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart
your
developing skills, take BlackBerry mobile applications to market and
stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

--
View this message in context: http://n2.nabble.com/two-gn-instances-with-one-tomcat-tp3932679p3932837.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Why did you change the stop port number on the command line?

---
A. Soroka
Digital Research and Scholarship R & D
the University of Virginia Library

On Nov 2, 2009, at 11:31 AM, Sarah_S wrote:

I´m having geonetwork, geonetwork2, geoserver, geoserver2, intermap and
intermap2 at my webapps folder.
I don´t want to run jetty. So I was looking at the HowToRunUnderTomcat but
think that I missed something.

Thanks.

best regards
Sarah

ajs6f@anonymised.com wrote:

What are the folders that are now in your tomcat/webapps directory?
Are you trying to run both Tomcat and Jetty at the same time?
---
A. Soroka
Digital Research and Scholarship R & D
the University of Virginia Library

On Nov 2, 2009, at 11:22 AM, Sarah_S wrote:

Thanks for the fast answer!

here is my catalina.2009-11-02 log:
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 13:26:24 org.apache.catalina.startup.HostConfig
checkResources
INFO: Reloading context [/geonetwork2]
02.11.2009 13:51:28
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore <init>
SCHWERWIEGEND: null
02.11.2009 13:51:31 org.geotools.factory.FactoryRegistry
scanForPlugins
WARNUNG: Can't load a service for category
"CoordinateOperationFactory".
Cause is "NoClassDefFoundError: javax/vecmath/
SingularMatrixException".
02.11.2009 13:51:31 org.geotools.factory.FactoryRegistry
scanForPlugins
WARNUNG: Can't load a service for category
"CoordinateOperationFactory".
Cause is "NoClassDefFoundError: javax/vecmath/
SingularMatrixException".
02.11.2009 13:51:34 org.geotools.data.shapefile.ShapefileDataStore
createSchema
WARNUNG: PRJ file not generated for null CoordinateReferenceSystem
02.11.2009 13:51:39
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore <init>
SCHWERWIEGEND: null
02.11.2009 13:51:39 org.geotools.data.shapefile.ShapefileDataStore
createSchema
WARNUNG: PRJ file not generated for null CoordinateReferenceSystem
02.11.2009 13:53:33 org.geotools.factory.FactoryRegistry
scanForPlugins
WARNUNG: Can't load a service for category "ConverterFactory". Cause
is
"NoClassDefFoundError: org/apache/commons/beanutils/Converter".
02.11.2009 13:54:35 org.apache.catalina.core.StandardContext start
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/
geonetwork2]
has already been started
02.11.2009 13:58:03 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error listenerStart
02.11.2009 13:58:03 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/geoserver2] startup failed due to previous
errors
02.11.2009 14:05:23 org.wfp.vam.intermap.services.wmc.MailWmcContext
init
WARNUNG: *** The mailserver config property has not been set. WMC
mail will
not be available.
02.11.2009 14:07:39 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:07:44 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:08:46 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:08:46 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:11:45 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:11:45 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 15:30:17 org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.16.
02.11.2009 15:30:17 org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters
[false], random [true].
02.11.2009 15:30:19 org.apache.coyote.http11.Http11AprProtocol init
SCHWERWIEGEND: Error initializing endpoint
java.lang.Exception: Socket bind failed: [730048] Normalerweise darf
jede
Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur
jeweils einmal
verwendet werden.
  at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:623)
  at
org.apache.coyote.http11.Http11AprProtocol.init
(Http11AprProtocol.java:107)
  at org.apache.catalina.connector.Connector.initialize
(Connector.java:1058)
  at
org.apache.catalina.core.StandardService.initialize
(StandardService.java:677)
  at
org.apache.catalina.core.StandardServer.initialize
(StandardServer.java:795)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:535)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:555)
  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:597)
  at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
02.11.2009 15:30:19 org.apache.catalina.startup.Catalina load
SCHWERWIEGEND: Catalina.start
LifecycleException: Protocol handler initialization failed:
java.lang.Exception: Socket bind failed: [730048] Normalerweise darf
jede
Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur
jeweils einmal
verwendet werden.
  at org.apache.catalina.connector.Connector.initialize
(Connector.java:1060)
  at
org.apache.catalina.core.StandardService.initialize
(StandardService.java:677)
  at
org.apache.catalina.core.StandardServer.initialize
(StandardServer.java:795)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:535)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:555)
  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:597)
  at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
02.11.2009 15:30:19 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2448 ms
02.11.2009 15:30:20 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
02.11.2009 15:30:20 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
02.11.2009 15:30:20 org.apache.catalina.core.StandardContext
resourcesStart
SCHWERWIEGEND: Error starting static Resources
java.lang.IllegalArgumentException: Document base
C:\temp\geonetwork242\web\geonetwork does not exist or is not a
readable
directory
  at
org.apache.naming.resources.FileDirContext.setDocBase
(FileDirContext.java:142)
  at
org.apache.catalina.core.StandardContext.resourcesStart
(StandardContext.java:4048)
  at
org.apache.catalina.core.StandardContext.start(StandardContext.java:
4217)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1045)
  at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1045)
  at org.apache.catalina.core.StandardEngine.start
(StandardEngine.java:443)
  at org.apache.catalina.core.StandardService.start
(StandardService.java:516)
  at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
  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:597)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:30:20 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error in resourceStart()
02.11.2009 15:30:21 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error getConfigured
02.11.2009 15:30:21 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/geonetwork2] startup failed due to previous
errors
02.11.2009 15:30:21 org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/
geonetwork2]
has not been started
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext
resourcesStart
SCHWERWIEGEND: Error starting static Resources
java.lang.IllegalArgumentException: Document base
C:\temp\geonetwork242\web\geoserver does not exist or is not a
readable
directory
  at
org.apache.naming.resources.FileDirContext.setDocBase
(FileDirContext.java:142)
  at
org.apache.catalina.core.StandardContext.resourcesStart
(StandardContext.java:4048)
  at
org.apache.catalina.core.StandardContext.start(StandardContext.java:
4217)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1045)
  at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1045)
  at org.apache.catalina.core.StandardEngine.start
(StandardEngine.java:443)
  at org.apache.catalina.core.StandardService.start
(StandardService.java:516)
  at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
  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:597)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error in resourceStart()
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error getConfigured
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/geoserver2] startup failed due to previous
errors
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/
geoserver2]
has not been started
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext
resourcesStart
SCHWERWIEGEND: Error starting static Resources
java.lang.IllegalArgumentException: Document base
C:\temp\geonetwork242\web\intermap does not exist or is not a readable
directory
  at
org.apache.naming.resources.FileDirContext.setDocBase
(FileDirContext.java:142)
  at
org.apache.catalina.core.StandardContext.resourcesStart
(StandardContext.java:4048)
  at
org.apache.catalina.core.StandardContext.start(StandardContext.java:
4217)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1045)
  at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1045)
  at org.apache.catalina.core.StandardEngine.start
(StandardEngine.java:443)
  at org.apache.catalina.core.StandardService.start
(StandardService.java:516)
  at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
  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:597)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error in resourceStart()
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error getConfigured
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/intermap2] startup failed due to previous
errors
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/
intermap2]
has not been started
02.11.2009 15:34:20 org.wfp.vam.intermap.services.wmc.MailWmcContext
init
WARNUNG: *** The mailserver config property has not been set. WMC
mail will
not be available.
02.11.2009 15:34:22 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive servlet.war
02.11.2009 15:34:22 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive wfsconnector.war
02.11.2009 15:34:22 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive wmsconnector.war
02.11.2009 15:34:23 org.apache.coyote.http11.Http11AprProtocol start
SCHWERWIEGEND: Error starting endpoint
java.lang.Exception: Socket bind failed: [730048] Normalerweise darf
jede
Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur
jeweils einmal
verwendet werden.
  at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:623)
  at org.apache.tomcat.util.net.AprEndpoint.start(AprEndpoint.java:730)
  at
org.apache.coyote.http11.Http11AprProtocol.start
(Http11AprProtocol.java:137)
  at org.apache.catalina.connector.Connector.start(Connector.java:1131)
  at org.apache.catalina.core.StandardService.start
(StandardService.java:531)
  at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
  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:597)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:34:23 org.apache.catalina.startup.Catalina start
SCHWERWIEGEND: Catalina.start:
LifecycleException: service.getName(): "Catalina"; Protocol
handler start
failed: java.lang.Exception: Socket bind failed: [730048]
Normalerweise darf
jede Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur
jeweils
einmal verwendet werden.
  at org.apache.catalina.connector.Connector.start(Connector.java:1138)
  at org.apache.catalina.core.StandardService.start
(StandardService.java:531)
  at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
  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:597)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:34:23 org.apache.catalina.startup.Catalina start
INFO: Server startup in 243136 ms
02.11.2009 15:34:23 org.apache.catalina.core.StandardServer await
SCHWERWIEGEND: StandardServer.await: create[8005]:
java.net.BindException: Address already in use: JVM_Bind
  at java.net.PlainSocketImpl.socketBind(Native Method)
  at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
  at java.net.ServerSocket.bind(ServerSocket.java:319)
  at java.net.ServerSocket.<init>(ServerSocket.java:185)
  at org.apache.catalina.core.StandardServer.await
(StandardServer.java:373)
  at org.apache.catalina.startup.Catalina.await(Catalina.java:647)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:607)
  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:597)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

I have to make some changes at some files- but don´t exactly know
which one.
Thanks

best regards
Sarah

ajs6f@anonymised.com wrote:

What errors appear in logs/catalina.out?

---
A. Soroka
Digital Research and Scholarship R & D
the University of Virginia Library

On Nov 2, 2009, at 11:08 AM, Sarah_S wrote:

Hi all,

I want to run two geonetworks (2.4.1 and 2.4.2) top of my tomcat.
2.4.1 was
put up. So I copied the three web folders (geonetwork, geoserver,
intermap -
renamed to geonetwork2,..) to webapps folder of tomcat and modified
server.xml. At start-geonetwork.sh I changed --DSTOP.PORT to 8078.
At tomcat manager I see that geonetwork2, geoserver2 amd intermap2
weren´t
started and could not be started.
What did I miss?

Thanks.

best regards
Sarah
--
View this message in context:
http://n2.nabble.com/two-gn-instances-with-one-tomcat-tp3932679p3932679.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart
your
developing skills, take BlackBerry mobile applications to market and
stay
ahead of the curve. Join us from November 9 - 12, 2009. Register
now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart
your
developing skills, take BlackBerry mobile applications to market
and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

--
View this message in context:
http://n2.nabble.com/two-gn-instances-with-one-tomcat-tp3932679p3932768.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart
your
developing skills, take BlackBerry mobile applications to market and
stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

--
View this message in context: http://n2.nabble.com/two-gn-instances-with-one-tomcat-tp3932679p3932837.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

I´ve read that this would affect that only one of geonetworks were stopped
and not both. Ok, so you mean that I have to do this if I use jetty and not
Tomcat? At my case this port number does not matter.

Think that I have to change Z39.50 port of one of me geonetworks (like it is
said at manual).

Thanks
best regards
Sarah

ajs6f@anonymised.com wrote:

Why did you change the stop port number on the command line?

---
A. Soroka
Digital Research and Scholarship R & D
the University of Virginia Library

On Nov 2, 2009, at 11:31 AM, Sarah_S wrote:

I´m having geonetwork, geonetwork2, geoserver, geoserver2, intermap
and
intermap2 at my webapps folder.
I don´t want to run jetty. So I was looking at the
HowToRunUnderTomcat but
think that I missed something.

Thanks.

best regards
Sarah

ajs6f@anonymised.com wrote:

What are the folders that are now in your tomcat/webapps directory?
Are you trying to run both Tomcat and Jetty at the same time?
---
A. Soroka
Digital Research and Scholarship R & D
the University of Virginia Library

On Nov 2, 2009, at 11:22 AM, Sarah_S wrote:

Thanks for the fast answer!

here is my catalina.2009-11-02 log:
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 13:26:24 org.apache.catalina.startup.HostConfig
checkResources
INFO: Reloading context [/geonetwork2]
02.11.2009 13:51:28
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore <init>
SCHWERWIEGEND: null
02.11.2009 13:51:31 org.geotools.factory.FactoryRegistry
scanForPlugins
WARNUNG: Can't load a service for category
"CoordinateOperationFactory".
Cause is "NoClassDefFoundError: javax/vecmath/
SingularMatrixException".
02.11.2009 13:51:31 org.geotools.factory.FactoryRegistry
scanForPlugins
WARNUNG: Can't load a service for category
"CoordinateOperationFactory".
Cause is "NoClassDefFoundError: javax/vecmath/
SingularMatrixException".
02.11.2009 13:51:34 org.geotools.data.shapefile.ShapefileDataStore
createSchema
WARNUNG: PRJ file not generated for null CoordinateReferenceSystem
02.11.2009 13:51:39
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore <init>
SCHWERWIEGEND: null
02.11.2009 13:51:39 org.geotools.data.shapefile.ShapefileDataStore
createSchema
WARNUNG: PRJ file not generated for null CoordinateReferenceSystem
02.11.2009 13:53:33 org.geotools.factory.FactoryRegistry
scanForPlugins
WARNUNG: Can't load a service for category "ConverterFactory". Cause
is
"NoClassDefFoundError: org/apache/commons/beanutils/Converter".
02.11.2009 13:54:35 org.apache.catalina.core.StandardContext start
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/
geonetwork2]
has already been started
02.11.2009 13:58:03 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error listenerStart
02.11.2009 13:58:03 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/geoserver2] startup failed due to previous
errors
02.11.2009 14:05:23 org.wfp.vam.intermap.services.wmc.MailWmcContext
init
WARNUNG: *** The mailserver config property has not been set. WMC
mail will
not be available.
02.11.2009 14:07:39 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:07:44 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:08:46 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:08:46 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:11:45 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:11:45 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 15:30:17 org.apache.catalina.core.AprLifecycleListener
init
INFO: Loaded APR based Apache Tomcat Native library 1.1.16.
02.11.2009 15:30:17 org.apache.catalina.core.AprLifecycleListener
init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters
[false], random [true].
02.11.2009 15:30:19 org.apache.coyote.http11.Http11AprProtocol init
SCHWERWIEGEND: Error initializing endpoint
java.lang.Exception: Socket bind failed: [730048] Normalerweise darf
jede
Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur
jeweils einmal
verwendet werden.
  at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:
623)
  at
org.apache.coyote.http11.Http11AprProtocol.init
(Http11AprProtocol.java:107)
  at org.apache.catalina.connector.Connector.initialize
(Connector.java:1058)
  at
org.apache.catalina.core.StandardService.initialize
(StandardService.java:677)
  at
org.apache.catalina.core.StandardServer.initialize
(StandardServer.java:795)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:535)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:555)
  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:597)
  at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
02.11.2009 15:30:19 org.apache.catalina.startup.Catalina load
SCHWERWIEGEND: Catalina.start
LifecycleException: Protocol handler initialization failed:
java.lang.Exception: Socket bind failed: [730048] Normalerweise darf
jede
Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur
jeweils einmal
verwendet werden.
  at org.apache.catalina.connector.Connector.initialize
(Connector.java:1060)
  at
org.apache.catalina.core.StandardService.initialize
(StandardService.java:677)
  at
org.apache.catalina.core.StandardServer.initialize
(StandardServer.java:795)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:535)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:555)
  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:597)
  at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
02.11.2009 15:30:19 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2448 ms
02.11.2009 15:30:20 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
02.11.2009 15:30:20 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
02.11.2009 15:30:20 org.apache.catalina.core.StandardContext
resourcesStart
SCHWERWIEGEND: Error starting static Resources
java.lang.IllegalArgumentException: Document base
C:\temp\geonetwork242\web\geonetwork does not exist or is not a
readable
directory
  at
org.apache.naming.resources.FileDirContext.setDocBase
(FileDirContext.java:142)
  at
org.apache.catalina.core.StandardContext.resourcesStart
(StandardContext.java:4048)
  at
org.apache.catalina.core.StandardContext.start(StandardContext.java:
4217)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1045)
  at org.apache.catalina.core.StandardHost.start(StandardHost.java:
722)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1045)
  at org.apache.catalina.core.StandardEngine.start
(StandardEngine.java:443)
  at org.apache.catalina.core.StandardService.start
(StandardService.java:516)
  at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
  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:597)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:30:20 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error in resourceStart()
02.11.2009 15:30:21 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error getConfigured
02.11.2009 15:30:21 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/geonetwork2] startup failed due to previous
errors
02.11.2009 15:30:21 org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/
geonetwork2]
has not been started
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext
resourcesStart
SCHWERWIEGEND: Error starting static Resources
java.lang.IllegalArgumentException: Document base
C:\temp\geonetwork242\web\geoserver does not exist or is not a
readable
directory
  at
org.apache.naming.resources.FileDirContext.setDocBase
(FileDirContext.java:142)
  at
org.apache.catalina.core.StandardContext.resourcesStart
(StandardContext.java:4048)
  at
org.apache.catalina.core.StandardContext.start(StandardContext.java:
4217)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1045)
  at org.apache.catalina.core.StandardHost.start(StandardHost.java:
722)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1045)
  at org.apache.catalina.core.StandardEngine.start
(StandardEngine.java:443)
  at org.apache.catalina.core.StandardService.start
(StandardService.java:516)
  at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
  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:597)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error in resourceStart()
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error getConfigured
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/geoserver2] startup failed due to previous
errors
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/
geoserver2]
has not been started
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext
resourcesStart
SCHWERWIEGEND: Error starting static Resources
java.lang.IllegalArgumentException: Document base
C:\temp\geonetwork242\web\intermap does not exist or is not a
readable
directory
  at
org.apache.naming.resources.FileDirContext.setDocBase
(FileDirContext.java:142)
  at
org.apache.catalina.core.StandardContext.resourcesStart
(StandardContext.java:4048)
  at
org.apache.catalina.core.StandardContext.start(StandardContext.java:
4217)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1045)
  at org.apache.catalina.core.StandardHost.start(StandardHost.java:
722)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1045)
  at org.apache.catalina.core.StandardEngine.start
(StandardEngine.java:443)
  at org.apache.catalina.core.StandardService.start
(StandardService.java:516)
  at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
  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:597)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error in resourceStart()
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error getConfigured
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/intermap2] startup failed due to previous
errors
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/
intermap2]
has not been started
02.11.2009 15:34:20 org.wfp.vam.intermap.services.wmc.MailWmcContext
init
WARNUNG: *** The mailserver config property has not been set. WMC
mail will
not be available.
02.11.2009 15:34:22 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive servlet.war
02.11.2009 15:34:22 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive wfsconnector.war
02.11.2009 15:34:22 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive wmsconnector.war
02.11.2009 15:34:23 org.apache.coyote.http11.Http11AprProtocol start
SCHWERWIEGEND: Error starting endpoint
java.lang.Exception: Socket bind failed: [730048] Normalerweise darf
jede
Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur
jeweils einmal
verwendet werden.
  at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:
623)
  at org.apache.tomcat.util.net.AprEndpoint.start(AprEndpoint.java:
730)
  at
org.apache.coyote.http11.Http11AprProtocol.start
(Http11AprProtocol.java:137)
  at org.apache.catalina.connector.Connector.start(Connector.java:
1131)
  at org.apache.catalina.core.StandardService.start
(StandardService.java:531)
  at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
  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:597)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:34:23 org.apache.catalina.startup.Catalina start
SCHWERWIEGEND: Catalina.start:
LifecycleException: service.getName(): "Catalina"; Protocol
handler start
failed: java.lang.Exception: Socket bind failed: [730048]
Normalerweise darf
jede Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur
jeweils
einmal verwendet werden.
  at org.apache.catalina.connector.Connector.start(Connector.java:
1138)
  at org.apache.catalina.core.StandardService.start
(StandardService.java:531)
  at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
  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:597)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:34:23 org.apache.catalina.startup.Catalina start
INFO: Server startup in 243136 ms
02.11.2009 15:34:23 org.apache.catalina.core.StandardServer await
SCHWERWIEGEND: StandardServer.await: create[8005]:
java.net.BindException: Address already in use: JVM_Bind
  at java.net.PlainSocketImpl.socketBind(Native Method)
  at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
  at java.net.ServerSocket.bind(ServerSocket.java:319)
  at java.net.ServerSocket.<init>(ServerSocket.java:185)
  at org.apache.catalina.core.StandardServer.await
(StandardServer.java:373)
  at org.apache.catalina.startup.Catalina.await(Catalina.java:647)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:607)
  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:597)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

I have to make some changes at some files- but don´t exactly know
which one.
Thanks

best regards
Sarah

ajs6f@anonymised.com wrote:

What errors appear in logs/catalina.out?

---
A. Soroka
Digital Research and Scholarship R & D
the University of Virginia Library

On Nov 2, 2009, at 11:08 AM, Sarah_S wrote:

Hi all,

I want to run two geonetworks (2.4.1 and 2.4.2) top of my tomcat.
2.4.1 was
put up. So I copied the three web folders (geonetwork, geoserver,
intermap -
renamed to geonetwork2,..) to webapps folder of tomcat and
modified
server.xml. At start-geonetwork.sh I changed --DSTOP.PORT to 8078.
At tomcat manager I see that geonetwork2, geoserver2 amd intermap2
weren´t
started and could not be started.
What did I miss?

Thanks.

best regards
Sarah
--
View this message in context:
http://n2.nabble.com/two-gn-instances-with-one-tomcat-tp3932679p3932679.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in
SF, CA
is the only developer event you need to attend this year.
Jumpstart
your
developing skills, take BlackBerry mobile applications to market
and
stay
ahead of the curve. Join us from November 9 - 12, 2009. Register
now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF,
CA
is the only developer event you need to attend this year. Jumpstart
your
developing skills, take BlackBerry mobile applications to market
and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register
now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

--
View this message in context:
http://n2.nabble.com/two-gn-instances-with-one-tomcat-tp3932679p3932768.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart
your
developing skills, take BlackBerry mobile applications to market and
stay
ahead of the curve. Join us from November 9 - 12, 2009. Register
now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart
your
developing skills, take BlackBerry mobile applications to market
and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

--
View this message in context:
http://n2.nabble.com/two-gn-instances-with-one-tomcat-tp3932679p3932837.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart
your
developing skills, take BlackBerry mobile applications to market and
stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

--
View this message in context: http://n2.nabble.com/two-gn-instances-with-one-tomcat-tp3932679p3932919.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Tomcat's stop port is not affected by any application housed in it. You shouldn't need to change it unless you have a port conflict. I would change it back. Then we can start to figure out what else is going wrong.

Which of the various copies of these apps -are- launching?

You will have to change one of the Z39.50 ports to avoid conflict.

---
A. Soroka
Digital Research and Scholarship R & D
the University of Virginia Library

On Nov 2, 2009, at 11:41 AM, Sarah_S wrote:

I´ve read that this would affect that only one of geonetworks were stopped
and not both. Ok, so you mean that I have to do this if I use jetty and not
Tomcat? At my case this port number does not matter.

Think that I have to change Z39.50 port of one of me geonetworks (like it is
said at manual).

Thanks
best regards
Sarah

ajs6f@anonymised.com wrote:

Why did you change the stop port number on the command line?

---
A. Soroka
Digital Research and Scholarship R & D
the University of Virginia Library

On Nov 2, 2009, at 11:31 AM, Sarah_S wrote:

I´m having geonetwork, geonetwork2, geoserver, geoserver2, intermap
and
intermap2 at my webapps folder.
I don´t want to run jetty. So I was looking at the
HowToRunUnderTomcat but
think that I missed something.

Thanks.

best regards
Sarah

ajs6f@anonymised.com wrote:

What are the folders that are now in your tomcat/webapps directory?
Are you trying to run both Tomcat and Jetty at the same time?
---
A. Soroka
Digital Research and Scholarship R & D
the University of Virginia Library

On Nov 2, 2009, at 11:22 AM, Sarah_S wrote:

Thanks for the fast answer!

here is my catalina.2009-11-02 log:
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 13:26:24 org.apache.catalina.startup.HostConfig
checkResources
INFO: Reloading context [/geonetwork2]
02.11.2009 13:51:28
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore <init>
SCHWERWIEGEND: null
02.11.2009 13:51:31 org.geotools.factory.FactoryRegistry
scanForPlugins
WARNUNG: Can't load a service for category
"CoordinateOperationFactory".
Cause is "NoClassDefFoundError: javax/vecmath/
SingularMatrixException".
02.11.2009 13:51:31 org.geotools.factory.FactoryRegistry
scanForPlugins
WARNUNG: Can't load a service for category
"CoordinateOperationFactory".
Cause is "NoClassDefFoundError: javax/vecmath/
SingularMatrixException".
02.11.2009 13:51:34 org.geotools.data.shapefile.ShapefileDataStore
createSchema
WARNUNG: PRJ file not generated for null CoordinateReferenceSystem
02.11.2009 13:51:39
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore <init>
SCHWERWIEGEND: null
02.11.2009 13:51:39 org.geotools.data.shapefile.ShapefileDataStore
createSchema
WARNUNG: PRJ file not generated for null CoordinateReferenceSystem
02.11.2009 13:53:33 org.geotools.factory.FactoryRegistry
scanForPlugins
WARNUNG: Can't load a service for category "ConverterFactory". Cause
is
"NoClassDefFoundError: org/apache/commons/beanutils/Converter".
02.11.2009 13:54:35 org.apache.catalina.core.StandardContext start
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/
geonetwork2]
has already been started
02.11.2009 13:58:03 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error listenerStart
02.11.2009 13:58:03 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/geoserver2] startup failed due to previous
errors
02.11.2009 14:05:23 org.wfp.vam.intermap.services.wmc.MailWmcContext
init
WARNUNG: *** The mailserver config property has not been set. WMC
mail will
not be available.
02.11.2009 14:07:39 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:07:44 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:08:46 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:08:46 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:11:45 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:11:45 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 15:30:17 org.apache.catalina.core.AprLifecycleListener
init
INFO: Loaded APR based Apache Tomcat Native library 1.1.16.
02.11.2009 15:30:17 org.apache.catalina.core.AprLifecycleListener
init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters
[false], random [true].
02.11.2009 15:30:19 org.apache.coyote.http11.Http11AprProtocol init
SCHWERWIEGEND: Error initializing endpoint
java.lang.Exception: Socket bind failed: [730048] Normalerweise darf
jede
Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur
jeweils einmal
verwendet werden.
  at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:
623)
  at
org.apache.coyote.http11.Http11AprProtocol.init
(Http11AprProtocol.java:107)
  at org.apache.catalina.connector.Connector.initialize
(Connector.java:1058)
  at
org.apache.catalina.core.StandardService.initialize
(StandardService.java:677)
  at
org.apache.catalina.core.StandardServer.initialize
(StandardServer.java:795)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:535)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:555)
  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:597)
  at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
02.11.2009 15:30:19 org.apache.catalina.startup.Catalina load
SCHWERWIEGEND: Catalina.start
LifecycleException: Protocol handler initialization failed:
java.lang.Exception: Socket bind failed: [730048] Normalerweise darf
jede
Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur
jeweils einmal
verwendet werden.
  at org.apache.catalina.connector.Connector.initialize
(Connector.java:1060)
  at
org.apache.catalina.core.StandardService.initialize
(StandardService.java:677)
  at
org.apache.catalina.core.StandardServer.initialize
(StandardServer.java:795)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:535)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:555)
  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:597)
  at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
02.11.2009 15:30:19 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2448 ms
02.11.2009 15:30:20 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
02.11.2009 15:30:20 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
02.11.2009 15:30:20 org.apache.catalina.core.StandardContext
resourcesStart
SCHWERWIEGEND: Error starting static Resources
java.lang.IllegalArgumentException: Document base
C:\temp\geonetwork242\web\geonetwork does not exist or is not a
readable
directory
  at
org.apache.naming.resources.FileDirContext.setDocBase
(FileDirContext.java:142)
  at
org.apache.catalina.core.StandardContext.resourcesStart
(StandardContext.java:4048)
  at
org.apache.catalina.core.StandardContext.start(StandardContext.java:
4217)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1045)
  at org.apache.catalina.core.StandardHost.start(StandardHost.java:
722)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1045)
  at org.apache.catalina.core.StandardEngine.start
(StandardEngine.java:443)
  at org.apache.catalina.core.StandardService.start
(StandardService.java:516)
  at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
  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:597)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:30:20 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error in resourceStart()
02.11.2009 15:30:21 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error getConfigured
02.11.2009 15:30:21 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/geonetwork2] startup failed due to previous
errors
02.11.2009 15:30:21 org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/
geonetwork2]
has not been started
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext
resourcesStart
SCHWERWIEGEND: Error starting static Resources
java.lang.IllegalArgumentException: Document base
C:\temp\geonetwork242\web\geoserver does not exist or is not a
readable
directory
  at
org.apache.naming.resources.FileDirContext.setDocBase
(FileDirContext.java:142)
  at
org.apache.catalina.core.StandardContext.resourcesStart
(StandardContext.java:4048)
  at
org.apache.catalina.core.StandardContext.start(StandardContext.java:
4217)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1045)
  at org.apache.catalina.core.StandardHost.start(StandardHost.java:
722)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1045)
  at org.apache.catalina.core.StandardEngine.start
(StandardEngine.java:443)
  at org.apache.catalina.core.StandardService.start
(StandardService.java:516)
  at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
  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:597)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error in resourceStart()
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error getConfigured
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/geoserver2] startup failed due to previous
errors
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/
geoserver2]
has not been started
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext
resourcesStart
SCHWERWIEGEND: Error starting static Resources
java.lang.IllegalArgumentException: Document base
C:\temp\geonetwork242\web\intermap does not exist or is not a
readable
directory
  at
org.apache.naming.resources.FileDirContext.setDocBase
(FileDirContext.java:142)
  at
org.apache.catalina.core.StandardContext.resourcesStart
(StandardContext.java:4048)
  at
org.apache.catalina.core.StandardContext.start(StandardContext.java:
4217)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1045)
  at org.apache.catalina.core.StandardHost.start(StandardHost.java:
722)
  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1045)
  at org.apache.catalina.core.StandardEngine.start
(StandardEngine.java:443)
  at org.apache.catalina.core.StandardService.start
(StandardService.java:516)
  at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
  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:597)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error in resourceStart()
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error getConfigured
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/intermap2] startup failed due to previous
errors
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/
intermap2]
has not been started
02.11.2009 15:34:20 org.wfp.vam.intermap.services.wmc.MailWmcContext
init
WARNUNG: *** The mailserver config property has not been set. WMC
mail will
not be available.
02.11.2009 15:34:22 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive servlet.war
02.11.2009 15:34:22 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive wfsconnector.war
02.11.2009 15:34:22 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive wmsconnector.war
02.11.2009 15:34:23 org.apache.coyote.http11.Http11AprProtocol start
SCHWERWIEGEND: Error starting endpoint
java.lang.Exception: Socket bind failed: [730048] Normalerweise darf
jede
Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur
jeweils einmal
verwendet werden.
  at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:
623)
  at org.apache.tomcat.util.net.AprEndpoint.start(AprEndpoint.java:
730)
  at
org.apache.coyote.http11.Http11AprProtocol.start
(Http11AprProtocol.java:137)
  at org.apache.catalina.connector.Connector.start(Connector.java:
1131)
  at org.apache.catalina.core.StandardService.start
(StandardService.java:531)
  at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
  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:597)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:34:23 org.apache.catalina.startup.Catalina start
SCHWERWIEGEND: Catalina.start:
LifecycleException: service.getName(): "Catalina"; Protocol
handler start
failed: java.lang.Exception: Socket bind failed: [730048]
Normalerweise darf
jede Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur
jeweils
einmal verwendet werden.
  at org.apache.catalina.connector.Connector.start(Connector.java:
1138)
  at org.apache.catalina.core.StandardService.start
(StandardService.java:531)
  at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
  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:597)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:34:23 org.apache.catalina.startup.Catalina start
INFO: Server startup in 243136 ms
02.11.2009 15:34:23 org.apache.catalina.core.StandardServer await
SCHWERWIEGEND: StandardServer.await: create[8005]:
java.net.BindException: Address already in use: JVM_Bind
  at java.net.PlainSocketImpl.socketBind(Native Method)
  at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
  at java.net.ServerSocket.bind(ServerSocket.java:319)
  at java.net.ServerSocket.<init>(ServerSocket.java:185)
  at org.apache.catalina.core.StandardServer.await
(StandardServer.java:373)
  at org.apache.catalina.startup.Catalina.await(Catalina.java:647)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:607)
  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:597)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

I have to make some changes at some files- but don´t exactly know
which one.
Thanks

best regards
Sarah

ajs6f@anonymised.com wrote:

What errors appear in logs/catalina.out?

---
A. Soroka
Digital Research and Scholarship R & D
the University of Virginia Library

On Nov 2, 2009, at 11:08 AM, Sarah_S wrote:

Hi all,

I want to run two geonetworks (2.4.1 and 2.4.2) top of my tomcat.
2.4.1 was
put up. So I copied the three web folders (geonetwork, geoserver,
intermap -
renamed to geonetwork2,..) to webapps folder of tomcat and
modified
server.xml. At start-geonetwork.sh I changed --DSTOP.PORT to 8078.
At tomcat manager I see that geonetwork2, geoserver2 amd intermap2
weren´t
started and could not be started.
What did I miss?

Thanks.

best regards
Sarah
--
View this message in context:
http://n2.nabble.com/two-gn-instances-with-one-tomcat-tp3932679p3932679.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in
SF, CA
is the only developer event you need to attend this year.
Jumpstart
your
developing skills, take BlackBerry mobile applications to market
and
stay
ahead of the curve. Join us from November 9 - 12, 2009. Register
now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF,
CA
is the only developer event you need to attend this year. Jumpstart
your
developing skills, take BlackBerry mobile applications to market
and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register
now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

--
View this message in context:
http://n2.nabble.com/two-gn-instances-with-one-tomcat-tp3932679p3932768.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart
your
developing skills, take BlackBerry mobile applications to market and
stay
ahead of the curve. Join us from November 9 - 12, 2009. Register
now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart
your
developing skills, take BlackBerry mobile applications to market
and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

--
View this message in context:
http://n2.nabble.com/two-gn-instances-with-one-tomcat-tp3932679p3932837.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart
your
developing skills, take BlackBerry mobile applications to market and
stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

--
View this message in context: http://n2.nabble.com/two-gn-instances-with-one-tomcat-tp3932679p3932919.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

Hi Sarah

In the log there're some errors like:

java.lang.IllegalArgumentException: Document base C:\temp\geonetwork242\web\intermap does not exist or is not a readable directory
        at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:142)

Check that you context files are pointing to valid paths. Also which database are you using? Mckoi? In that case you'll need to change with GAST for one the installations the port of Mckoi. There's some messages about Socket bind failed in the log, but not sure if it's a problem of Mckoi.

java.lang.Exception: Socket bind failed: [730048] Normalerweise darf jede Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur jeweils einmal verwendet werden.

Also as you comment the port of Z39.50 should be different (probably the above message it's about this)

Regards,
Jose García

----- Original Message ----- From: <ajs6f@anonymised.com>
To: "geonetwork-users Users" <geonetwork-users@lists.sourceforge.net>
Sent: Monday, November 02, 2009 5:45 PM
Subject: Re: [GeoNetwork-users] two gn instances with one tomcat

Tomcat's stop port is not affected by any application housed in it.
You shouldn't need to change it unless you have a port conflict. I
would change it back. Then we can start to figure out what else is
going wrong.

Which of the various copies of these apps -are- launching?

You will have to change one of the Z39.50 ports to avoid conflict.

---
A. Soroka
Digital Research and Scholarship R & D
the University of Virginia Library

On Nov 2, 2009, at 11:41 AM, Sarah_S wrote:

I´ve read that this would affect that only one of geonetworks were
stopped
and not both. Ok, so you mean that I have to do this if I use jetty
and not
Tomcat? At my case this port number does not matter.

Think that I have to change Z39.50 port of one of me geonetworks
(like it is
said at manual).

Thanks
best regards
Sarah

ajs6f@anonymised.com wrote:

Why did you change the stop port number on the command line?

---
A. Soroka
Digital Research and Scholarship R & D
the University of Virginia Library

On Nov 2, 2009, at 11:31 AM, Sarah_S wrote:

I´m having geonetwork, geonetwork2, geoserver, geoserver2, intermap
and
intermap2 at my webapps folder.
I don´t want to run jetty. So I was looking at the
HowToRunUnderTomcat but
think that I missed something.

Thanks.

best regards
Sarah

ajs6f@anonymised.com wrote:

What are the folders that are now in your tomcat/webapps directory?
Are you trying to run both Tomcat and Jetty at the same time?
---
A. Soroka
Digital Research and Scholarship R & D
the University of Virginia Library

On Nov 2, 2009, at 11:22 AM, Sarah_S wrote:

Thanks for the fast answer!

here is my catalina.2009-11-02 log:
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 13:26:24 org.apache.catalina.startup.HostConfig
checkResources
INFO: Reloading context [/geonetwork2]
02.11.2009 13:51:28
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore
<init>
SCHWERWIEGEND: null
02.11.2009 13:51:31 org.geotools.factory.FactoryRegistry
scanForPlugins
WARNUNG: Can't load a service for category
"CoordinateOperationFactory".
Cause is "NoClassDefFoundError: javax/vecmath/
SingularMatrixException".
02.11.2009 13:51:31 org.geotools.factory.FactoryRegistry
scanForPlugins
WARNUNG: Can't load a service for category
"CoordinateOperationFactory".
Cause is "NoClassDefFoundError: javax/vecmath/
SingularMatrixException".
02.11.2009 13:51:34 org.geotools.data.shapefile.ShapefileDataStore
createSchema
WARNUNG: PRJ file not generated for null CoordinateReferenceSystem
02.11.2009 13:51:39
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore
<init>
SCHWERWIEGEND: null
02.11.2009 13:51:39 org.geotools.data.shapefile.ShapefileDataStore
createSchema
WARNUNG: PRJ file not generated for null CoordinateReferenceSystem
02.11.2009 13:53:33 org.geotools.factory.FactoryRegistry
scanForPlugins
WARNUNG: Can't load a service for category "ConverterFactory".
Cause
is
"NoClassDefFoundError: org/apache/commons/beanutils/Converter".
02.11.2009 13:54:35 org.apache.catalina.core.StandardContext start
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/
geonetwork2]
has already been started
02.11.2009 13:58:03 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error listenerStart
02.11.2009 13:58:03 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/geoserver2] startup failed due to
previous
errors
02.11.2009 14:05:23
org.wfp.vam.intermap.services.wmc.MailWmcContext
init
WARNUNG: *** The mailserver config property has not been set. WMC
mail will
not be available.
02.11.2009 14:07:39 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:07:44 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:08:46 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:08:46 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:11:45 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:11:45 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 15:30:17 org.apache.catalina.core.AprLifecycleListener
init
INFO: Loaded APR based Apache Tomcat Native library 1.1.16.
02.11.2009 15:30:17 org.apache.catalina.core.AprLifecycleListener
init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept
filters
[false], random [true].
02.11.2009 15:30:19 org.apache.coyote.http11.Http11AprProtocol
init
SCHWERWIEGEND: Error initializing endpoint
java.lang.Exception: Socket bind failed: [730048] Normalerweise
darf
jede
Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur
jeweils einmal
verwendet werden.
at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:
623)
at
org.apache.coyote.http11.Http11AprProtocol.init
(Http11AprProtocol.java:107)
at org.apache.catalina.connector.Connector.initialize
(Connector.java:1058)
at
org.apache.catalina.core.StandardService.initialize
(StandardService.java:677)
at
org.apache.catalina.core.StandardServer.initialize
(StandardServer.java:795)
at org.apache.catalina.startup.Catalina.load(Catalina.java:535)
at org.apache.catalina.startup.Catalina.load(Catalina.java:555)
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:597)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
02.11.2009 15:30:19 org.apache.catalina.startup.Catalina load
SCHWERWIEGEND: Catalina.start
LifecycleException: Protocol handler initialization failed:
java.lang.Exception: Socket bind failed: [730048] Normalerweise
darf
jede
Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur
jeweils einmal
verwendet werden.
at org.apache.catalina.connector.Connector.initialize
(Connector.java:1060)
at
org.apache.catalina.core.StandardService.initialize
(StandardService.java:677)
at
org.apache.catalina.core.StandardServer.initialize
(StandardServer.java:795)
at org.apache.catalina.startup.Catalina.load(Catalina.java:535)
at org.apache.catalina.startup.Catalina.load(Catalina.java:555)
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:597)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
02.11.2009 15:30:19 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2448 ms
02.11.2009 15:30:20 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
02.11.2009 15:30:20 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
02.11.2009 15:30:20 org.apache.catalina.core.StandardContext
resourcesStart
SCHWERWIEGEND: Error starting static Resources
java.lang.IllegalArgumentException: Document base
C:\temp\geonetwork242\web\geonetwork does not exist or is not a
readable
directory
at
org.apache.naming.resources.FileDirContext.setDocBase
(FileDirContext.java:142)
at
org.apache.catalina.core.StandardContext.resourcesStart
(StandardContext.java:4048)
at
org.apache.catalina.core.StandardContext.start
(StandardContext.java:
4217)
at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:
1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:
722)
at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:
1045)
at org.apache.catalina.core.StandardEngine.start
(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start
(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:
288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:30:20 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error in resourceStart()
02.11.2009 15:30:21 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error getConfigured
02.11.2009 15:30:21 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/geonetwork2] startup failed due to
previous
errors
02.11.2009 15:30:21 org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/
geonetwork2]
has not been started
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext
resourcesStart
SCHWERWIEGEND: Error starting static Resources
java.lang.IllegalArgumentException: Document base
C:\temp\geonetwork242\web\geoserver does not exist or is not a
readable
directory
at
org.apache.naming.resources.FileDirContext.setDocBase
(FileDirContext.java:142)
at
org.apache.catalina.core.StandardContext.resourcesStart
(StandardContext.java:4048)
at
org.apache.catalina.core.StandardContext.start
(StandardContext.java:
4217)
at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:
1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:
722)
at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:
1045)
at org.apache.catalina.core.StandardEngine.start
(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start
(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:
288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error in resourceStart()
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error getConfigured
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/geoserver2] startup failed due to
previous
errors
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/
geoserver2]
has not been started
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext
resourcesStart
SCHWERWIEGEND: Error starting static Resources
java.lang.IllegalArgumentException: Document base
C:\temp\geonetwork242\web\intermap does not exist or is not a
readable
directory
at
org.apache.naming.resources.FileDirContext.setDocBase
(FileDirContext.java:142)
at
org.apache.catalina.core.StandardContext.resourcesStart
(StandardContext.java:4048)
at
org.apache.catalina.core.StandardContext.start
(StandardContext.java:
4217)
at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:
1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:
722)
at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:
1045)
at org.apache.catalina.core.StandardEngine.start
(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start
(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:
288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error in resourceStart()
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error getConfigured
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/intermap2] startup failed due to previous
errors
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/
intermap2]
has not been started
02.11.2009 15:34:20
org.wfp.vam.intermap.services.wmc.MailWmcContext
init
WARNUNG: *** The mailserver config property has not been set. WMC
mail will
not be available.
02.11.2009 15:34:22 org.apache.catalina.startup.HostConfig
deployWAR
INFO: Deploying web application archive servlet.war
02.11.2009 15:34:22 org.apache.catalina.startup.HostConfig
deployWAR
INFO: Deploying web application archive wfsconnector.war
02.11.2009 15:34:22 org.apache.catalina.startup.HostConfig
deployWAR
INFO: Deploying web application archive wmsconnector.war
02.11.2009 15:34:23 org.apache.coyote.http11.Http11AprProtocol
start
SCHWERWIEGEND: Error starting endpoint
java.lang.Exception: Socket bind failed: [730048] Normalerweise
darf
jede
Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur
jeweils einmal
verwendet werden.
at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:
623)
at org.apache.tomcat.util.net.AprEndpoint.start(AprEndpoint.java:
730)
at
org.apache.coyote.http11.Http11AprProtocol.start
(Http11AprProtocol.java:137)
at org.apache.catalina.connector.Connector.start(Connector.java:
1131)
at org.apache.catalina.core.StandardService.start
(StandardService.java:531)
at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:
288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:34:23 org.apache.catalina.startup.Catalina start
SCHWERWIEGEND: Catalina.start:
LifecycleException: service.getName(): "Catalina"; Protocol
handler start
failed: java.lang.Exception: Socket bind failed: [730048]
Normalerweise darf
jede Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur
jeweils
einmal verwendet werden.
at org.apache.catalina.connector.Connector.start(Connector.java:
1138)
at org.apache.catalina.core.StandardService.start
(StandardService.java:531)
at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:
288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:34:23 org.apache.catalina.startup.Catalina start
INFO: Server startup in 243136 ms
02.11.2009 15:34:23 org.apache.catalina.core.StandardServer await
SCHWERWIEGEND: StandardServer.await: create[8005]:
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at org.apache.catalina.core.StandardServer.await
(StandardServer.java:373)
at org.apache.catalina.startup.Catalina.await(Catalina.java:647)
at org.apache.catalina.startup.Catalina.start(Catalina.java:607)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:
288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

I have to make some changes at some files- but don´t exactly know
which one.
Thanks

best regards
Sarah

ajs6f@anonymised.com wrote:

What errors appear in logs/catalina.out?

---
A. Soroka
Digital Research and Scholarship R & D
the University of Virginia Library

On Nov 2, 2009, at 11:08 AM, Sarah_S wrote:

Hi all,

I want to run two geonetworks (2.4.1 and 2.4.2) top of my
tomcat.
2.4.1 was
put up. So I copied the three web folders (geonetwork,
geoserver,
intermap -
renamed to geonetwork2,..) to webapps folder of tomcat and
modified
server.xml. At start-geonetwork.sh I changed --DSTOP.PORT to
8078.
At tomcat manager I see that geonetwork2, geoserver2 amd
intermap2
weren´t
started and could not be started.
What did I miss?

Thanks.

best regards
Sarah
--
View this message in context:
http://n2.nabble.com/two-gn-instances-with-one-tomcat-tp3932679p3932679.html
Sent from the GeoNetwork users mailing list archive at Nabble.com
.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in
SF, CA
is the only developer event you need to attend this year.
Jumpstart
your
developing skills, take BlackBerry mobile applications to market
and
stay
ahead of the curve. Join us from November 9 - 12, 2009. Register
now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF,
CA
is the only developer event you need to attend this year.
Jumpstart
your
developing skills, take BlackBerry mobile applications to market
and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register
now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

--
View this message in context:
http://n2.nabble.com/two-gn-instances-with-one-tomcat-tp3932679p3932768.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in
SF, CA
is the only developer event you need to attend this year.
Jumpstart
your
developing skills, take BlackBerry mobile applications to market
and
stay
ahead of the curve. Join us from November 9 - 12, 2009. Register
now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF,
CA
is the only developer event you need to attend this year. Jumpstart
your
developing skills, take BlackBerry mobile applications to market
and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register
now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

--
View this message in context:
http://n2.nabble.com/two-gn-instances-with-one-tomcat-tp3932679p3932837.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart
your
developing skills, take BlackBerry mobile applications to market and
stay
ahead of the curve. Join us from November 9 - 12, 2009. Register
now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart
your
developing skills, take BlackBerry mobile applications to market
and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

--
View this message in context: http://n2.nabble.com/two-gn-instances-with-one-tomcat-tp3932679p3932919.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart
your
developing skills, take BlackBerry mobile applications to market and
stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

Which of the various copies of these apps -are- launching?
As I understand you right my first installation of gn is woking (geoserver,
geonetwork and intermap). geonetwork2 and so on did not.

I have copied the path from my first installed geonetwork and modified it.

I use postgres for my first installed geonetwork(2.4.1)which are named
geonetwork, geoserver, intermap at the webapps dir. Would be great if I am
able to use it for gn 2.4.2- but read that I have export or modify my
metadata. Is it right?

Can I only change Z39.50 port with system configuration editor come up with
GN? Or even at database?

Thanks.

best regards
Sarah

josegar74 wrote:

Hi Sarah

In the log there're some errors like:

java.lang.IllegalArgumentException: Document base
C:\temp\geonetwork242\web\intermap does not exist or is not a readable
directory
        at
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:142)

Check that you context files are pointing to valid paths. Also which
database are you using? Mckoi? In that case you'll need to change with
GAST
for one the installations the port of Mckoi. There's some messages about
Socket bind failed in the log, but not sure if it's a problem of Mckoi.

java.lang.Exception: Socket bind failed: [730048] Normalerweise darf jede
Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur jeweils
einmal
verwendet werden.

Also as you comment the port of Z39.50 should be different (probably the
above message it's about this)

Regards,
Jose García

----- Original Message -----
From: <ajs6f@anonymised.com>

Which of the various copies of these apps -are- launching?

---
A. Soroka
Digital Research and Scholarship R & D
the University of Virginia Library

On Nov 2, 2009, at 11:41 AM, Sarah_S wrote:

I´ve read that this would affect that only one of geonetworks were
stopped
and not both. Ok, so you mean that I have to do this if I use jetty
and not
Tomcat? At my case this port number does not matter.

Think that I have to change Z39.50 port of one of me geonetworks
(like it is
said at manual).

Thanks
best regards
Sarah

ajs6f@anonymised.com wrote:

Why did you change the stop port number on the command line?

---
A. Soroka
Digital Research and Scholarship R & D
the University of Virginia Library

On Nov 2, 2009, at 11:31 AM, Sarah_S wrote:

I´m having geonetwork, geonetwork2, geoserver, geoserver2, intermap
and
intermap2 at my webapps folder.
I don´t want to run jetty. So I was looking at the
HowToRunUnderTomcat but
think that I missed something.

Thanks.

best regards
Sarah

ajs6f@anonymised.com wrote:

What are the folders that are now in your tomcat/webapps directory?
Are you trying to run both Tomcat and Jetty at the same time?
---
A. Soroka
Digital Research and Scholarship R & D
the University of Virginia Library

On Nov 2, 2009, at 11:22 AM, Sarah_S wrote:

Thanks for the fast answer!

here is my catalina.2009-11-02 log:
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 13:26:24 org.apache.catalina.startup.HostConfig
checkResources
INFO: Reloading context [/geonetwork2]
02.11.2009 13:51:28
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore
<init>
SCHWERWIEGEND: null
02.11.2009 13:51:31 org.geotools.factory.FactoryRegistry
scanForPlugins
WARNUNG: Can't load a service for category
"CoordinateOperationFactory".
Cause is "NoClassDefFoundError: javax/vecmath/
SingularMatrixException".
02.11.2009 13:51:31 org.geotools.factory.FactoryRegistry
scanForPlugins
WARNUNG: Can't load a service for category
"CoordinateOperationFactory".
Cause is "NoClassDefFoundError: javax/vecmath/
SingularMatrixException".
02.11.2009 13:51:34 org.geotools.data.shapefile.ShapefileDataStore
createSchema
WARNUNG: PRJ file not generated for null CoordinateReferenceSystem
02.11.2009 13:51:39
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore
<init>
SCHWERWIEGEND: null
02.11.2009 13:51:39 org.geotools.data.shapefile.ShapefileDataStore
createSchema
WARNUNG: PRJ file not generated for null CoordinateReferenceSystem
02.11.2009 13:53:33 org.geotools.factory.FactoryRegistry
scanForPlugins
WARNUNG: Can't load a service for category "ConverterFactory".
Cause
is
"NoClassDefFoundError: org/apache/commons/beanutils/Converter".
02.11.2009 13:54:35 org.apache.catalina.core.StandardContext start
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/
geonetwork2]
has already been started
02.11.2009 13:58:03 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error listenerStart
02.11.2009 13:58:03 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/geoserver2] startup failed due to
previous
errors
02.11.2009 14:05:23
org.wfp.vam.intermap.services.wmc.MailWmcContext
init
WARNUNG: *** The mailserver config property has not been set. WMC
mail will
not be available.
02.11.2009 14:07:39 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:07:44 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:08:46 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:08:46 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:11:45 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:11:45 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 15:30:17 org.apache.catalina.core.AprLifecycleListener
init
INFO: Loaded APR based Apache Tomcat Native library 1.1.16.
02.11.2009 15:30:17 org.apache.catalina.core.AprLifecycleListener
init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept
filters
[false], random [true].
02.11.2009 15:30:19 org.apache.coyote.http11.Http11AprProtocol
init
SCHWERWIEGEND: Error initializing endpoint
java.lang.Exception: Socket bind failed: [730048] Normalerweise
darf
jede
Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur
jeweils einmal
verwendet werden.
at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:
623)
at
org.apache.coyote.http11.Http11AprProtocol.init
(Http11AprProtocol.java:107)
at org.apache.catalina.connector.Connector.initialize
(Connector.java:1058)
at
org.apache.catalina.core.StandardService.initialize
(StandardService.java:677)
at
org.apache.catalina.core.StandardServer.initialize
(StandardServer.java:795)
at org.apache.catalina.startup.Catalina.load(Catalina.java:535)
at org.apache.catalina.startup.Catalina.load(Catalina.java:555)
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:597)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
02.11.2009 15:30:19 org.apache.catalina.startup.Catalina load
SCHWERWIEGEND: Catalina.start
LifecycleException: Protocol handler initialization failed:
java.lang.Exception: Socket bind failed: [730048] Normalerweise
darf
jede
Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur
jeweils einmal
verwendet werden.
at org.apache.catalina.connector.Connector.initialize
(Connector.java:1060)
at
org.apache.catalina.core.StandardService.initialize
(StandardService.java:677)
at
org.apache.catalina.core.StandardServer.initialize
(StandardServer.java:795)
at org.apache.catalina.startup.Catalina.load(Catalina.java:535)
at org.apache.catalina.startup.Catalina.load(Catalina.java:555)
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:597)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
02.11.2009 15:30:19 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2448 ms
02.11.2009 15:30:20 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
02.11.2009 15:30:20 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
02.11.2009 15:30:20 org.apache.catalina.core.StandardContext
resourcesStart
SCHWERWIEGEND: Error starting static Resources
java.lang.IllegalArgumentException: Document base
C:\temp\geonetwork242\web\geonetwork does not exist or is not a
readable
directory
at
org.apache.naming.resources.FileDirContext.setDocBase
(FileDirContext.java:142)
at
org.apache.catalina.core.StandardContext.resourcesStart
(StandardContext.java:4048)
at
org.apache.catalina.core.StandardContext.start
(StandardContext.java:
4217)
at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:
1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:
722)
at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:
1045)
at org.apache.catalina.core.StandardEngine.start
(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start
(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:
288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:30:20 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error in resourceStart()
02.11.2009 15:30:21 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error getConfigured
02.11.2009 15:30:21 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/geonetwork2] startup failed due to
previous
errors
02.11.2009 15:30:21 org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/
geonetwork2]
has not been started
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext
resourcesStart
SCHWERWIEGEND: Error starting static Resources
java.lang.IllegalArgumentException: Document base
C:\temp\geonetwork242\web\geoserver does not exist or is not a
readable
directory
at
org.apache.naming.resources.FileDirContext.setDocBase
(FileDirContext.java:142)
at
org.apache.catalina.core.StandardContext.resourcesStart
(StandardContext.java:4048)
at
org.apache.catalina.core.StandardContext.start
(StandardContext.java:
4217)
at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:
1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:
722)
at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:
1045)
at org.apache.catalina.core.StandardEngine.start
(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start
(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:
288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error in resourceStart()
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error getConfigured
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/geoserver2] startup failed due to
previous
errors
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/
geoserver2]
has not been started
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext
resourcesStart
SCHWERWIEGEND: Error starting static Resources
java.lang.IllegalArgumentException: Document base
C:\temp\geonetwork242\web\intermap does not exist or is not a
readable
directory
at
org.apache.naming.resources.FileDirContext.setDocBase
(FileDirContext.java:142)
at
org.apache.catalina.core.StandardContext.resourcesStart
(StandardContext.java:4048)
at
org.apache.catalina.core.StandardContext.start
(StandardContext.java:
4217)
at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:
1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:
722)
at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:
1045)
at org.apache.catalina.core.StandardEngine.start
(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start
(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:
288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error in resourceStart()
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error getConfigured
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/intermap2] startup failed due to previous
errors
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/
intermap2]
has not been started
02.11.2009 15:34:20
org.wfp.vam.intermap.services.wmc.MailWmcContext
init
WARNUNG: *** The mailserver config property has not been set. WMC
mail will
not be available.
02.11.2009 15:34:22 org.apache.catalina.startup.HostConfig
deployWAR
INFO: Deploying web application archive servlet.war
02.11.2009 15:34:22 org.apache.catalina.startup.HostConfig
deployWAR
INFO: Deploying web application archive wfsconnector.war
02.11.2009 15:34:22 org.apache.catalina.startup.HostConfig
deployWAR
INFO: Deploying web application archive wmsconnector.war
02.11.2009 15:34:23 org.apache.coyote.http11.Http11AprProtocol
start
SCHWERWIEGEND: Error starting endpoint
java.lang.Exception: Socket bind failed: [730048] Normalerweise
darf
jede
Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur
jeweils einmal
verwendet werden.
at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:
623)
at org.apache.tomcat.util.net.AprEndpoint.start(AprEndpoint.java:
730)
at
org.apache.coyote.http11.Http11AprProtocol.start
(Http11AprProtocol.java:137)
at org.apache.catalina.connector.Connector.start(Connector.java:
1131)
at org.apache.catalina.core.StandardService.start
(StandardService.java:531)
at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:
288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:34:23 org.apache.catalina.startup.Catalina start
SCHWERWIEGEND: Catalina.start:
LifecycleException: service.getName(): "Catalina"; Protocol
handler start
failed: java.lang.Exception: Socket bind failed: [730048]
Normalerweise darf
jede Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur
jeweils
einmal verwendet werden.
at org.apache.catalina.connector.Connector.start(Connector.java:
1138)
at org.apache.catalina.core.StandardService.start
(StandardService.java:531)
at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:
288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:34:23 org.apache.catalina.startup.Catalina start
INFO: Server startup in 243136 ms
02.11.2009 15:34:23 org.apache.catalina.core.StandardServer await
SCHWERWIEGEND: StandardServer.await: create[8005]:
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at org.apache.catalina.core.StandardServer.await
(StandardServer.java:373)
at org.apache.catalina.startup.Catalina.await(Catalina.java:647)
at org.apache.catalina.startup.Catalina.start(Catalina.java:607)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:
288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

I have to make some changes at some files- but don´t exactly know
which one.
Thanks

best regards
Sarah

ajs6f@anonymised.com wrote:

What errors appear in logs/catalina.out?

---
A. Soroka
Digital Research and Scholarship R & D
the University of Virginia Library

On Nov 2, 2009, at 11:08 AM, Sarah_S wrote:

Hi all,

I want to run two geonetworks (2.4.1 and 2.4.2) top of my
tomcat.
2.4.1 was
put up. So I copied the three web folders (geonetwork,
geoserver,
intermap -
renamed to geonetwork2,..) to webapps folder of tomcat and
modified
server.xml. At start-geonetwork.sh I changed --DSTOP.PORT to
8078.
At tomcat manager I see that geonetwork2, geoserver2 amd
intermap2
weren´t
started and could not be started.
What did I miss?

Thanks.

best regards
Sarah
--
View this message in context:
http://n2.nabble.com/two-gn-instances-with-one-tomcat-tp3932679p3932679.html
Sent from the GeoNetwork users mailing list archive at Nabble.com
.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in
SF, CA
is the only developer event you need to attend this year.
Jumpstart
your
developing skills, take BlackBerry mobile applications to market
and
stay
ahead of the curve. Join us from November 9 - 12, 2009. Register
now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF,
CA
is the only developer event you need to attend this year.
Jumpstart
your
developing skills, take BlackBerry mobile applications to market
and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register
now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

--
View this message in context:
http://n2.nabble.com/two-gn-instances-with-one-tomcat-tp3932679p3932768.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in
SF, CA
is the only developer event you need to attend this year.
Jumpstart
your
developing skills, take BlackBerry mobile applications to market
and
stay
ahead of the curve. Join us from November 9 - 12, 2009. Register
now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF,
CA
is the only developer event you need to attend this year. Jumpstart
your
developing skills, take BlackBerry mobile applications to market
and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register
now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

--
View this message in context:
http://n2.nabble.com/two-gn-instances-with-one-tomcat-tp3932679p3932837.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart
your
developing skills, take BlackBerry mobile applications to market and
stay
ahead of the curve. Join us from November 9 - 12, 2009. Register
now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart
your
developing skills, take BlackBerry mobile applications to market
and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

--
View this message in context:
http://n2.nabble.com/two-gn-instances-with-one-tomcat-tp3932679p3932919.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart
your
developing skills, take BlackBerry mobile applications to market and
stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

--
View this message in context: http://n2.nabble.com/two-gn-instances-with-one-tomcat-tp3932679p3933064.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

I noticed a typo at my path.
I changed the stop port number.
When I use http://localhost/geonetwork2 then I was redirected to
localhost/geonetwork. What went wrong?

Thanks both of you.

best regards
Sarah

Sarah_S wrote:

Which of the various copies of these apps -are- launching?
As I understand you right my first installation of gn is woking
(geoserver, geonetwork and intermap). geonetwork2 and so on did not.

I have copied the path from my first installed geonetwork and modified it.

I use postgres for my first installed geonetwork(2.4.1)which are named
geonetwork, geoserver, intermap at the webapps dir. Would be great if I am
able to use it for gn 2.4.2- but read that I have export or modify my
metadata. Is it right?

Can I only change Z39.50 port with system configuration editor come up
with GN? Or even at database?

Thanks.

best regards
Sarah

josegar74 wrote:

Hi Sarah

In the log there're some errors like:

java.lang.IllegalArgumentException: Document base
C:\temp\geonetwork242\web\intermap does not exist or is not a readable
directory
        at
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:142)

Check that you context files are pointing to valid paths. Also which
database are you using? Mckoi? In that case you'll need to change with
GAST
for one the installations the port of Mckoi. There's some messages about
Socket bind failed in the log, but not sure if it's a problem of Mckoi.

java.lang.Exception: Socket bind failed: [730048] Normalerweise darf jede
Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur jeweils
einmal
verwendet werden.

Also as you comment the port of Z39.50 should be different (probably the
above message it's about this)

Regards,
Jose García

----- Original Message -----
From: <ajs6f@anonymised.com>

Which of the various copies of these apps -are- launching?

---
A. Soroka
Digital Research and Scholarship R & D
the University of Virginia Library

On Nov 2, 2009, at 11:41 AM, Sarah_S wrote:

I´ve read that this would affect that only one of geonetworks were
stopped
and not both. Ok, so you mean that I have to do this if I use jetty
and not
Tomcat? At my case this port number does not matter.

Think that I have to change Z39.50 port of one of me geonetworks
(like it is
said at manual).

Thanks
best regards
Sarah

ajs6f@anonymised.com wrote:

Why did you change the stop port number on the command line?

---
A. Soroka
Digital Research and Scholarship R & D
the University of Virginia Library

On Nov 2, 2009, at 11:31 AM, Sarah_S wrote:

I´m having geonetwork, geonetwork2, geoserver, geoserver2, intermap
and
intermap2 at my webapps folder.
I don´t want to run jetty. So I was looking at the
HowToRunUnderTomcat but
think that I missed something.

Thanks.

best regards
Sarah

ajs6f@anonymised.com wrote:

What are the folders that are now in your tomcat/webapps directory?
Are you trying to run both Tomcat and Jetty at the same time?
---
A. Soroka
Digital Research and Scholarship R & D
the University of Virginia Library

On Nov 2, 2009, at 11:22 AM, Sarah_S wrote:

Thanks for the fast answer!

here is my catalina.2009-11-02 log:
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 13:26:24 org.apache.catalina.startup.HostConfig
checkResources
INFO: Reloading context [/geonetwork2]
02.11.2009 13:51:28
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore
<init>
SCHWERWIEGEND: null
02.11.2009 13:51:31 org.geotools.factory.FactoryRegistry
scanForPlugins
WARNUNG: Can't load a service for category
"CoordinateOperationFactory".
Cause is "NoClassDefFoundError: javax/vecmath/
SingularMatrixException".
02.11.2009 13:51:31 org.geotools.factory.FactoryRegistry
scanForPlugins
WARNUNG: Can't load a service for category
"CoordinateOperationFactory".
Cause is "NoClassDefFoundError: javax/vecmath/
SingularMatrixException".
02.11.2009 13:51:34 org.geotools.data.shapefile.ShapefileDataStore
createSchema
WARNUNG: PRJ file not generated for null CoordinateReferenceSystem
02.11.2009 13:51:39
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore
<init>
SCHWERWIEGEND: null
02.11.2009 13:51:39 org.geotools.data.shapefile.ShapefileDataStore
createSchema
WARNUNG: PRJ file not generated for null CoordinateReferenceSystem
02.11.2009 13:53:33 org.geotools.factory.FactoryRegistry
scanForPlugins
WARNUNG: Can't load a service for category "ConverterFactory".
Cause
is
"NoClassDefFoundError: org/apache/commons/beanutils/Converter".
02.11.2009 13:54:35 org.apache.catalina.core.StandardContext start
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/
geonetwork2]
has already been started
02.11.2009 13:58:03 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error listenerStart
02.11.2009 13:58:03 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/geoserver2] startup failed due to
previous
errors
02.11.2009 14:05:23
org.wfp.vam.intermap.services.wmc.MailWmcContext
init
WARNUNG: *** The mailserver config property has not been set. WMC
mail will
not be available.
02.11.2009 14:07:39 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:07:44 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:08:46 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:08:46 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:11:45 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 14:11:45 org.apache.tomcat.util.http.Parameters
processParameters
WARNUNG: Parameters: Invalid chunk ignored.
02.11.2009 15:30:17 org.apache.catalina.core.AprLifecycleListener
init
INFO: Loaded APR based Apache Tomcat Native library 1.1.16.
02.11.2009 15:30:17 org.apache.catalina.core.AprLifecycleListener
init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept
filters
[false], random [true].
02.11.2009 15:30:19 org.apache.coyote.http11.Http11AprProtocol
init
SCHWERWIEGEND: Error initializing endpoint
java.lang.Exception: Socket bind failed: [730048] Normalerweise
darf
jede
Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur
jeweils einmal
verwendet werden.
at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:
623)
at
org.apache.coyote.http11.Http11AprProtocol.init
(Http11AprProtocol.java:107)
at org.apache.catalina.connector.Connector.initialize
(Connector.java:1058)
at
org.apache.catalina.core.StandardService.initialize
(StandardService.java:677)
at
org.apache.catalina.core.StandardServer.initialize
(StandardServer.java:795)
at org.apache.catalina.startup.Catalina.load(Catalina.java:535)
at org.apache.catalina.startup.Catalina.load(Catalina.java:555)
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:597)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
02.11.2009 15:30:19 org.apache.catalina.startup.Catalina load
SCHWERWIEGEND: Catalina.start
LifecycleException: Protocol handler initialization failed:
java.lang.Exception: Socket bind failed: [730048] Normalerweise
darf
jede
Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur
jeweils einmal
verwendet werden.
at org.apache.catalina.connector.Connector.initialize
(Connector.java:1060)
at
org.apache.catalina.core.StandardService.initialize
(StandardService.java:677)
at
org.apache.catalina.core.StandardServer.initialize
(StandardServer.java:795)
at org.apache.catalina.startup.Catalina.load(Catalina.java:535)
at org.apache.catalina.startup.Catalina.load(Catalina.java:555)
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:597)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
02.11.2009 15:30:19 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2448 ms
02.11.2009 15:30:20 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
02.11.2009 15:30:20 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
02.11.2009 15:30:20 org.apache.catalina.core.StandardContext
resourcesStart
SCHWERWIEGEND: Error starting static Resources
java.lang.IllegalArgumentException: Document base
C:\temp\geonetwork242\web\geonetwork does not exist or is not a
readable
directory
at
org.apache.naming.resources.FileDirContext.setDocBase
(FileDirContext.java:142)
at
org.apache.catalina.core.StandardContext.resourcesStart
(StandardContext.java:4048)
at
org.apache.catalina.core.StandardContext.start
(StandardContext.java:
4217)
at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:
1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:
722)
at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:
1045)
at org.apache.catalina.core.StandardEngine.start
(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start
(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:
288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:30:20 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error in resourceStart()
02.11.2009 15:30:21 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error getConfigured
02.11.2009 15:30:21 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/geonetwork2] startup failed due to
previous
errors
02.11.2009 15:30:21 org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/
geonetwork2]
has not been started
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext
resourcesStart
SCHWERWIEGEND: Error starting static Resources
java.lang.IllegalArgumentException: Document base
C:\temp\geonetwork242\web\geoserver does not exist or is not a
readable
directory
at
org.apache.naming.resources.FileDirContext.setDocBase
(FileDirContext.java:142)
at
org.apache.catalina.core.StandardContext.resourcesStart
(StandardContext.java:4048)
at
org.apache.catalina.core.StandardContext.start
(StandardContext.java:
4217)
at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:
1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:
722)
at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:
1045)
at org.apache.catalina.core.StandardEngine.start
(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start
(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:
288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error in resourceStart()
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error getConfigured
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/geoserver2] startup failed due to
previous
errors
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/
geoserver2]
has not been started
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext
resourcesStart
SCHWERWIEGEND: Error starting static Resources
java.lang.IllegalArgumentException: Document base
C:\temp\geonetwork242\web\intermap does not exist or is not a
readable
directory
at
org.apache.naming.resources.FileDirContext.setDocBase
(FileDirContext.java:142)
at
org.apache.catalina.core.StandardContext.resourcesStart
(StandardContext.java:4048)
at
org.apache.catalina.core.StandardContext.start
(StandardContext.java:
4217)
at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:
1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:
722)
at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:
1045)
at org.apache.catalina.core.StandardEngine.start
(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start
(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:
288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error in resourceStart()
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error getConfigured
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/intermap2] startup failed due to previous
errors
02.11.2009 15:34:01 org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/
intermap2]
has not been started
02.11.2009 15:34:20
org.wfp.vam.intermap.services.wmc.MailWmcContext
init
WARNUNG: *** The mailserver config property has not been set. WMC
mail will
not be available.
02.11.2009 15:34:22 org.apache.catalina.startup.HostConfig
deployWAR
INFO: Deploying web application archive servlet.war
02.11.2009 15:34:22 org.apache.catalina.startup.HostConfig
deployWAR
INFO: Deploying web application archive wfsconnector.war
02.11.2009 15:34:22 org.apache.catalina.startup.HostConfig
deployWAR
INFO: Deploying web application archive wmsconnector.war
02.11.2009 15:34:23 org.apache.coyote.http11.Http11AprProtocol
start
SCHWERWIEGEND: Error starting endpoint
java.lang.Exception: Socket bind failed: [730048] Normalerweise
darf
jede
Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur
jeweils einmal
verwendet werden.
at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:
623)
at org.apache.tomcat.util.net.AprEndpoint.start(AprEndpoint.java:
730)
at
org.apache.coyote.http11.Http11AprProtocol.start
(Http11AprProtocol.java:137)
at org.apache.catalina.connector.Connector.start(Connector.java:
1131)
at org.apache.catalina.core.StandardService.start
(StandardService.java:531)
at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:
288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:34:23 org.apache.catalina.startup.Catalina start
SCHWERWIEGEND: Catalina.start:
LifecycleException: service.getName(): "Catalina"; Protocol
handler start
failed: java.lang.Exception: Socket bind failed: [730048]
Normalerweise darf
jede Socketadresse (Protokoll, Netzwerkadresse oder Anschluss) nur
jeweils
einmal verwendet werden.
at org.apache.catalina.connector.Connector.start(Connector.java:
1138)
at org.apache.catalina.core.StandardService.start
(StandardService.java:531)
at org.apache.catalina.core.StandardServer.start
(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:
288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
02.11.2009 15:34:23 org.apache.catalina.startup.Catalina start
INFO: Server startup in 243136 ms
02.11.2009 15:34:23 org.apache.catalina.core.StandardServer await
SCHWERWIEGEND: StandardServer.await: create[8005]:
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at org.apache.catalina.core.StandardServer.await
(StandardServer.java:373)
at org.apache.catalina.startup.Catalina.await(Catalina.java:647)
at org.apache.catalina.startup.Catalina.start(Catalina.java:607)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:
288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

I have to make some changes at some files- but don´t exactly know
which one.
Thanks

best regards
Sarah

ajs6f@anonymised.com wrote:

What errors appear in logs/catalina.out?

---
A. Soroka
Digital Research and Scholarship R & D
the University of Virginia Library

On Nov 2, 2009, at 11:08 AM, Sarah_S wrote:

Hi all,

I want to run two geonetworks (2.4.1 and 2.4.2) top of my
tomcat.
2.4.1 was
put up. So I copied the three web folders (geonetwork,
geoserver,
intermap -
renamed to geonetwork2,..) to webapps folder of tomcat and
modified
server.xml. At start-geonetwork.sh I changed --DSTOP.PORT to
8078.
At tomcat manager I see that geonetwork2, geoserver2 amd
intermap2
weren´t
started and could not be started.
What did I miss?

Thanks.

best regards
Sarah
--
View this message in context:
http://n2.nabble.com/two-gn-instances-with-one-tomcat-tp3932679p3932679.html
Sent from the GeoNetwork users mailing list archive at Nabble.com
.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in
SF, CA
is the only developer event you need to attend this year.
Jumpstart
your
developing skills, take BlackBerry mobile applications to market
and
stay
ahead of the curve. Join us from November 9 - 12, 2009. Register
now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF,
CA
is the only developer event you need to attend this year.
Jumpstart
your
developing skills, take BlackBerry mobile applications to market
and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register
now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

--
View this message in context:
http://n2.nabble.com/two-gn-instances-with-one-tomcat-tp3932679p3932768.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in
SF, CA
is the only developer event you need to attend this year.
Jumpstart
your
developing skills, take BlackBerry mobile applications to market
and
stay
ahead of the curve. Join us from November 9 - 12, 2009. Register
now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF,
CA
is the only developer event you need to attend this year. Jumpstart
your
developing skills, take BlackBerry mobile applications to market
and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register
now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

--
View this message in context:
http://n2.nabble.com/two-gn-instances-with-one-tomcat-tp3932679p3932837.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart
your
developing skills, take BlackBerry mobile applications to market and
stay
ahead of the curve. Join us from November 9 - 12, 2009. Register
now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart
your
developing skills, take BlackBerry mobile applications to market
and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

--
View this message in context:
http://n2.nabble.com/two-gn-instances-with-one-tomcat-tp3932679p3932919.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart
your
developing skills, take BlackBerry mobile applications to market and
stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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

--
View this message in context: http://n2.nabble.com/two-gn-instances-with-one-tomcat-tp3932679p3933186.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.