|
From: Sarah_S <Sar...@ya...> - 2009-09-15 13:29:09
|
I want to run Gn on Tomcat not on Jetty. But I don´t exactly know which changes I have to made? I copied these folders to webapps and insert contexts at server.xml. I found this post http://www.nabble.com/NoSuchFieldError-td19443722.html because of my log from geoserver: Exception sending context initialized event to listener instance of class org.geoserver.GeoserverInitSatrtupListener java.lang.NoSucheFieldError: KEY_REPLACE_INDEX_COLOR_MODEL. Am I on the right way? Or is my error an servlet container problem? Thanks. Best regards sarah Pickering, Jason wrote: > > > > Hi there. > Now I am a bit confused. Are you running both Jetty as well as Tomcat? > You should probably not run both, or if you do, you will need to change > the default port of Tomcat (or Jetty) so that they are not running on both > port 8080. > > Did you copy over the /geonetwork, /geoserver/ and /intermap files to your > Tomcat /webapps directory? > > Best regards, > Jason > > -- > Jason P. Pickering > Consultant > WHO/Ministry of Health Zambia > email: pic...@wh... > tel: +260968395190 > > > > -----Original Message----- > From: Sarah_S [mailto:Sar...@ya...] > Sent: Mon 2009-09-14 17:34 > To: geo...@li... > Subject: Re: [GeoNetwork-users] Geoserver with Tomcat: map not shown > > > I tried re-install, but it didn´t work either. Same problems. Any ideas to > my > log-files or so on? > I looked at mapServers.xml and start-stdln.html (and mainPreviewData.html) > and tried to change port but it didn´t work. > For me it looks like that Geoserver is at Jetty while GN and Intermap are > at > Tomcat, because there are logs at jetty-folder. Or is this behaviour ok? > > Any help would be appreciated! > > Thanks, > Sarah > > > Sarah_S wrote: >> >> Thank you Jason! >> >> So here are my log from Catalina.2009-09-11: >> 11.09.2009 10:27:55 org.apache.tomcat.util.digester.SetPropertiesRule >> begin >> WARNUNG: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting >> property 'debug' to '0' did not find a matching property. >> 11.09.2009 10:27:55 org.apache.tomcat.util.digester.SetPropertiesRule >> begin >> WARNUNG: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting >> property 'relaodable' to 'false' did not find a matching property. >> 11.09.2009 10:27:55 org.apache.tomcat.util.digester.SetPropertiesRule >> begin >> WARNUNG: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting >> property 'debug' to '0' did not find a matching property. >> 11.09.2009 10:27:55 org.apache.tomcat.util.digester.SetPropertiesRule >> begin >> WARNUNG: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting >> property 'relaodable' to 'false' did not find a matching property. >> 11.09.2009 10:27:55 org.apache.tomcat.util.digester.SetPropertiesRule >> begin >> WARNUNG: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting >> property 'debug' to '0' did not find a matching property. >> 11.09.2009 10:27:55 org.apache.tomcat.util.digester.SetPropertiesRule >> begin >> WARNUNG: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting >> property 'relaodable' to 'false' did not find a matching property. >> 11.09.2009 10:27:55 org.apache.catalina.core.AprLifecycleListener init >> INFO: Loaded APR based Apache Tomcat Native library 1.1.16. >> 11.09.2009 10:27:55 org.apache.catalina.core.AprLifecycleListener init >> INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters >> [false], random [true]. >> 11.09.2009 10:27:56 org.apache.coyote.http11.Http11AprProtocol init >> INFO: Initializing Coyote HTTP/1.1 on http-80 >> 11.09.2009 10:27:56 org.apache.coyote.ajp.AjpAprProtocol init >> INFO: Initializing Coyote AJP/1.3 on ajp-8009 >> 11.09.2009 10:27:56 org.apache.catalina.startup.Catalina load >> INFO: Initialization processed in 969 ms >> 11.09.2009 10:27:56 org.apache.catalina.core.StandardService start >> INFO: Starting service Catalina >> 11.09.2009 10:27:56 org.apache.catalina.core.StandardEngine start >> INFO: Starting Servlet Engine: Apache Tomcat/6.0.20 >> 11.09.2009 10:27:56 org.apache.catalina.ha.tcp.SimpleTcpCluster start >> INFO: Cluster is about to start >> 11.09.2009 10:27:57 org.apache.catalina.tribes.transport.ReceiverBase >> bind >> INFO: Receiver Server Socket bound to:/10.33.53.59:4000 >> 11.09.2009 10:27:57 >> org.apache.catalina.tribes.membership.McastServiceImpl >> setupSocket >> INFO: Setting cluster mcast soTimeout to 500 >> 11.09.2009 10:27:57 >> org.apache.catalina.tribes.membership.McastServiceImpl >> waitForMembers >> INFO: Sleeping for 1000 milliseconds to establish cluster membership, >> start level:4 >> 11.09.2009 10:27:58 >> org.apache.catalina.tribes.membership.McastServiceImpl >> waitForMembers >> INFO: Done sleeping, membership established, start level:4 >> 11.09.2009 10:28:00 >> org.apache.catalina.tribes.membership.McastServiceImpl >> waitForMembers >> INFO: Sleeping for 1000 milliseconds to establish cluster membership, >> start level:8 >> 11.09.2009 10:28:01 >> org.apache.catalina.tribes.membership.McastServiceImpl >> waitForMembers >> INFO: Done sleeping, membership established, start level:8 >> 11.09.2009 10:28:17 org.apache.catalina.core.StandardContext start >> SCHWERWIEGEND: Error listenerStart >> 11.09.2009 10:28:17 org.apache.catalina.core.StandardContext start >> SCHWERWIEGEND: Context [/geoserver] startup failed due to previous errors >> 11.09.2009 10:28:26 org.wfp.vam.intermap.services.wmc.MailWmcContext init >> WARNUNG: *** The mailserver config property has not been set. WMC mail >> will not be available. >> 11.09.2009 10:28:26 org.apache.catalina.startup.HostConfig deployWAR >> INFO: Deploying web application archive servlet.war >> 11.09.2009 10:28:26 org.apache.catalina.startup.HostConfig deployWAR >> INFO: Deploying web application archive wfsconnector.war >> 11.09.2009 10:28:26 org.apache.catalina.ha.session.DeltaManager start >> INFO: Register manager /wfsconnector to cluster element Engine with name >> Catalina >> 11.09.2009 10:28:26 org.apache.catalina.ha.session.DeltaManager start >> INFO: Starting clustering manager at /wfsconnector >> 11.09.2009 10:28:26 org.apache.catalina.ha.session.DeltaManager >> getAllClusterSessions >> INFO: Manager [localhost#/wfsconnector]: skipping state transfer. No >> members active in cluster group. >> 11.09.2009 10:28:26 org.apache.catalina.startup.HostConfig deployWAR >> INFO: Deploying web application archive wmsconnector.war >> 11.09.2009 10:28:27 org.apache.catalina.ha.session.JvmRouteBinderValve >> start >> INFO: JvmRouteBinderValve started >> 11.09.2009 10:28:27 org.apache.coyote.http11.Http11AprProtocol start >> INFO: Starting Coyote HTTP/1.1 on http-80 >> 11.09.2009 10:28:27 org.apache.coyote.ajp.AjpAprProtocol start >> INFO: Starting Coyote AJP/1.3 on ajp-8009 >> 11.09.2009 10:28:27 org.apache.catalina.startup.Catalina start >> INFO: Server startup in 31071 ms >> 11.09.2009 10:54:11 org.geotools.factory.FactoryRegistry scanForPlugins >> WARNUNG: Can't load a service for category "ConverterFactory". Cause is >> "NoClassDefFoundError: org/apache/commons/beanutils/Converter". >> 11.09.2009 11:14:34 org.apache.coyote.http11.Http11AprProtocol pause >> INFO: Pausing Coyote HTTP/1.1 on http-80 >> 11.09.2009 11:14:34 org.apache.coyote.ajp.AjpAprProtocol pause >> INFO: Pausing Coyote AJP/1.3 on ajp-8009 >> 11.09.2009 11:14:35 org.apache.catalina.core.StandardService stop >> INFO: Stopping service Catalina >> 11.09.2009 11:14:35 org.apache.catalina.ha.session.JvmRouteBinderValve >> stop >> INFO: JvmRouteBinderValve stopped >> 11.09.2009 11:14:37 org.apache.catalina.ha.session.DeltaManager stop >> INFO: Manager [localhost#/wfsconnector] expiring sessions upon shutdown >> 11.09.2009 11:14:37 org.apache.catalina.core.StandardContext stop >> INFO: Container >> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/geoserver] >> has not been started >> 11.09.2009 11:14:48 org.apache.coyote.http11.Http11AprProtocol destroy >> INFO: Stopping Coyote HTTP/1.1 on http-80 >> 11.09.2009 11:14:48 >> org.apache.catalina.tribes.membership.McastServiceImpl$ReceiverThread run >> WARNUNG: Error receiving mcast package. Sleeping 500ms >> java.net.SocketException: socket closed >> at java.net.PlainDatagramSocketImpl.receive0(Native Method) >> at java.net.PlainDatagramSocketImpl.receive(Unknown Source) >> at java.net.DatagramSocket.receive(Unknown Source) >> at >> org.apache.catalina.tribes.membership.McastServiceImpl.receive(McastServiceImpl.java:314) >> at >> org.apache.catalina.tribes.membership.McastServiceImpl$ReceiverThread.run(McastServiceImpl.java:414) >> 11.09.2009 11:14:49 org.apache.coyote.ajp.AjpAprProtocol destroy >> >> and this is the log from geonetwork (part of error section): >> 2009-09-11 10:17:07,241 INFO [jeeves.request] - >> ========================================================== >> 2009-09-11 10:17:07,241 INFO [jeeves.request] - HTML Request (from >> 127.0.0.1) : /geonetwork/srv/en/main.home >> 2009-09-11 10:17:07,241 DEBUG [jeeves.request] - Method : GET >> 2009-09-11 10:17:07,241 DEBUG [jeeves.request] - Content type : null >> 2009-09-11 10:17:07,241 DEBUG [jeeves.request] - Accept : >> image/gif, >> image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, >> */* >> 2009-09-11 10:17:07,241 DEBUG [jeeves.request] - Session id is >> 1B1F1165A16EA13F1A3232E4F48858DA >> 2009-09-11 10:17:07,241 INFO [jeeves.service] - Dispatching : main.home >> 2009-09-11 10:17:07,241 DEBUG [jeeves.service] - -> no input parameters >> 2009-09-11 10:17:07,241 INFO [jeeves.service] - -> dispatching to >> output for : main.home >> 2009-09-11 10:17:07,397 INFO [jeeves.service] - -> transforming >> with >> stylesheet : C:\Programme\geonetwork\web\geonetwork\/xsl/main-page.xsl >> 2009-09-11 10:17:07,491 INFO [jeeves.service] - -> end >> transformation for : main.home >> 2009-09-11 10:17:07,491 INFO [jeeves.service] - -> output ended for : >> main.home >> 2009-09-11 10:17:07,491 INFO [jeeves.service] - -> dispatch ended for : >> main.home >> 2009-09-11 10:17:09,850 INFO [jeeves.request] - >> ========================================================== >> 2009-09-11 10:17:09,850 INFO [jeeves.request] - HTML Request (from >> 127.0.0.1) : /geonetwork/srv/en/null >> 2009-09-11 10:17:09,850 DEBUG [jeeves.request] - Method : GET >> 2009-09-11 10:17:09,850 DEBUG [jeeves.request] - Content type : null >> 2009-09-11 10:17:09,850 DEBUG [jeeves.request] - Accept : */* >> 2009-09-11 10:17:09,850 DEBUG [jeeves.request] - Session id is >> 1B1F1165A16EA13F1A3232E4F48858DA >> 2009-09-11 10:17:09,850 INFO [jeeves.service] - Dispatching : null >> 2009-09-11 10:17:09,850 DEBUG [jeeves.service] - -> no input parameters >> 2009-09-11 10:17:09,850 ERROR [jeeves.service] - Service not found : null >> 2009-09-11 10:17:09,850 DEBUG [jeeves.service] - Raised exception while >> executing service >> <error id="service-not-found"> >> <message>Service not found</message> >> <class>ServiceNotFoundEx</class> >> <stack> >> <at class="jeeves.server.dispatchers.ServiceManager" >> file="ServiceManager.java" line="343" method="dispatch" /> >> <at class="jeeves.server.JeevesEngine" file="JeevesEngine.java" >> line="621" method="dispatch" /> >> <at class="jeeves.server.sources.http.JeevesServlet" >> file="JeevesServlet.java" line="174" method="execute" /> >> <at class="jeeves.server.sources.http.JeevesServlet" >> file="JeevesServlet.java" line="89" method="doGet" /> >> <at class="javax.servlet.http.HttpServlet" file="HttpServlet.java" >> line="617" method="service" /> >> <at class="javax.servlet.http.HttpServlet" file="HttpServlet.java" >> line="717" method="service" /> >> <at class="org.apache.catalina.core.ApplicationFilterChain" >> file="ApplicationFilterChain.java" line="290" method="internalDoFilter" >> /> >> <at class="org.apache.catalina.core.ApplicationFilterChain" >> file="ApplicationFilterChain.java" line="206" method="doFilter" /> >> <at class="org.apache.catalina.core.StandardWrapperValve" >> file="StandardWrapperValve.java" line="233" method="invoke" /> >> <at class="org.apache.catalina.core.StandardContextValve" >> file="StandardContextValve.java" line="191" method="invoke" /> >> </stack> >> null >> <request> >> <language>en</language> >> <service>null</service> >> </request> >> </error> >> >> Thank you for your help! >> >> Sarah >> >> >> >> Pickering, Jason wrote: >>> >>> It would be good if you could post the log files someplace. >>> >>> On Windows, they are normally located in >>> c:\Program Files\Apache Software Foundation\Tomcat 6.0\logs (or >>> something >>> similar). >>> >>> There should be a file there called catalina.out. Open this up and see >>> if >>> you see any error messages towards the end of the file. You can post >>> those here and maybe we can help you further. >>> >>> Best regards, >>> Jason >>> >>> -- >>> Jason P. Pickering >>> Consultant >>> WHO/Ministry of Health Zambia >>> email: pic...@wh... >>> tel: +260968395190 >>> >>> ________________________________ >>> >>> From: Sarah_S [mailto:Sar...@ya...] >>> Sent: Fri 2009-09-11 08:56 >>> To: geo...@li... >>> Subject: Re: [GeoNetwork-users] Geoserver with Tomcat: map not shown >>> >>> >>> >>> >>> Here are more detail: >>> Apache Tomcat/6.0.20 1.6.0_16-b01 Windows XP 5.1 x86 >>> >>> In my tomcat manager I could notice that geoserver is not been started. >>> And >>> there is an error if I try to start manually: Application at context >>> path >>> /geoserver could not be started. >>> >>> Thank you for any help! >>> >>> Sarah >>> >>> >>> >>> Sarah_S wrote: >>>> >>>> Hello Michael, >>>> >>>> thank you for your help! >>>> I´m using Windows XP Prof. Tomcat and Geonetwork are on a virtual >>>> machine >>>> (Port 80). Do you think I should perhaps re-install GN? >>>> >>>> Any help would be appreciated. >>>> >>>> Thanks >>>> >>>> Sarah >>>> >>>> >>>> Michael.Stegherr wrote: >>>>> >>>>> Hi Sarah, >>>>> >>>>>> -----Original Message----- >>>>>> From: Sarah_S [mailto:Sar...@ya...] >>>>>> Sent: Thursday, 10 September 2009 8:05 PM >>>>>> To: geo...@li... >>>>>> Subject: [GeoNetwork-users] Geoserver with Tomcat: map not shown >>>>>> >>>>>> I read this: >>>>>> http://trac.osgeo.org/geonetwork/wiki/HowToRunUnderTomcat and >>>>>> did copy my subdirectories (point 3), changed data_dir (point >>>>>> 5) but don´t >>>>>> know exactly how to do point 4. I don´t understand this >>>>>> point. And is point >>>>>> 6 essential? If so where can I find the path >>>>>> /etc/default/tomcatXXX (I´ve >>>>>> looked at server.xml but there are no security parameter)? >>>>> >>>>> Which OS are you using? I appended this info, when I experienced >>>>> difficulties in installing GeoNetwork on Tomcat running on a Linux >>>>> box. >>>>> >>>>> Not sure how you can do that on Windows though. Maybe someone else can >>>>> help? >>>>> >>>>> Cheers, >>>>> Michael >>>>> ------------------------------------------------------------------------------ >>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>>>> 30-Day >>>>> trial. Simplify your report design, integration and deployment - and >>>>> focus on >>>>> what you do best, core application coding. Discover what's new with >>>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>>>> _______________________________________________ >>>>> GeoNetwork-users mailing list >>>>> Geo...@li... >>>>> 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/Geoserver-with-Tomcat-map-not-shown-tp3617208p3623977.html >>> Sent from the GeoNetwork users mailing list archive at Nabble.com. >>> >>> ------------------------------------------------------------------------------ >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>> 30-Day >>> trial. Simplify your report design, integration and deployment - and >>> focus on >>> what you do best, core application coding. Discover what's new with >>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>> _______________________________________________ >>> GeoNetwork-users mailing list >>> Geo...@li... >>> https://lists.sourceforge.net/lists/listinfo/geonetwork-users >>> GeoNetwork OpenSource is maintained at >>> http://sourceforge.net/projects/geonetwork >>> >>> >>> ------------------------------------------------------------------------------ >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>> 30-Day >>> trial. Simplify your report design, integration and deployment - and >>> focus on >>> what you do best, core application coding. Discover what's new with >>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>> _______________________________________________ >>> GeoNetwork-users mailing list >>> Geo...@li... >>> 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/Geoserver-with-Tomcat-map-not-shown-tp3617208p3643259.html > Sent from the GeoNetwork users mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > GeoNetwork-users mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geonetwork-users > GeoNetwork OpenSource is maintained at > http://sourceforge.net/projects/geonetwork > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® 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/devconf > _______________________________________________ > GeoNetwork-users mailing list > Geo...@li... > 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/Geoserver-with-Tomcat-map-not-shown-tp3617208p3649062.html Sent from the GeoNetwork users mailing list archive at Nabble.com. |