Shutdown tomcat and enter

ps -ef | grep java

if you see a running java process and the output contains "catalina",  
notice the process id and execute

kill -9 <processid>

check again with

ps -ef | grep java

The process should have disappeared, you killed tomcat.
Now start tomcat.

Christian



Zitat von Robert Buckley <[email protected]>:

> more from catalina
>
> Address already in use <null>:8080 ??????
>
>
> 31.01.2012 15:29:57 org.apache.coyote.http11.Http11Protocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> 31.01.2012 15:29:57 org.apache.coyote.http11.Http11Protocol init
> SCHWERWIEGEND: Error initializing endpoint
> java.net.BindException: Address already in use <null>:8080
>         at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:549)
>         at   
> org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:176)
>         at   
> org.apache.catalina.connector.Connector.initialize(Connector.java:1007)
>         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:540)
>         at org.apache.catalina.startup.Catalina.load(Catalina.java:560)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at   
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at   
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:616)
>         at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> Caused by: java.net.BindException: Address already in use
>         at java.net.PlainSocketImpl.socketBind(Native Method)
>         at   
> java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:353)
>         at java.net.ServerSocket.bind(ServerSocket.java:336)
>         at java.net.ServerSocket.<init>(ServerSocket.java:202)
>         at java.net.ServerSocket.<init>(ServerSocket.java:158)
>         at   
> org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:50)
>         at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:538)
>         ... 12 more
> 31.01.2012 15:29:57 org.apache.catalina.startup.Catalina load
> SCHWERWIEGEND: Catalina.start
> LifecycleException:  Protocol handler initialization failed:   
> java.net.BindException: Address already in use <null>:8080
>         at   
> org.apache.catalina.connector.Connector.initialize(Connector.java:1009)
>         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:540)
>         at org.apache.catalina.startup.Catalina.load(Catalina.java:560)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at   
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at   
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:616)
>         at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> 31.01.2012 15:29:57 org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 812 ms
>
>
>
> ________________________________
>  Von: Robert Buckley <[email protected]>
> An: "[email protected]"   
> <[email protected]>
> Gesendet: 15:02 Dienstag, 31.Januar 2012
> Betreff: [Geoserver-users] WG: Address already in use 8080 . problem  
>  with external GWC
>
>
>
>
> ----- Weitergeleitete Message -----
> Von: Robert Buckley <[email protected]>
> An: Robert Buckley <[email protected]>
> Gesendet: 15:02 Dienstag, 31.Januar 2012
> Betreff: Re: [Geoserver-users] Address already in use 8080 . problem  
>  with external GWC
>
>
> sorry..
> the last log entries
>
> geoserver:
>
> - GEOSERVER_DATA_DIR: /home/geoadmin1/data
> ----------------------------------
> 2012-01-31 14:55:40,543 WARN [referencing.factory] - Axis elements   
> found in a wkt definition, the force longitude first axis order hint  
>  might not be respected:
> PROJCS["ETRS89 / UTM zone   
> 32N",GEOGCS["ETRS89",DATUM["European_Terrestrial_Reference_System_1989",SPHEROID["GRS
>    
> 1980",6378137,298.257222101,AUTHORITY["EPSG","7019"]],AUTHORITY["EPSG","6258"]],PRIME$
> 2012-01-31 14:55:42,103 WARN [gce.imagemosaic] - Unable to set   
> ordering between tiff readers spi
> 2012-01-31 14:55:43,857 WARN [imagemosaic.catalog] -   
> BBOXFilterExtractor::extractBasicProperties(): passed typename is   
> null, using: topotest
> 2012-01-31 14:55:44,775 WARN [imagemosaic.catalog] -   
> BBOXFilterExtractor::extractBasicProperties(): passed typename is   
> null, using: dgm
> 2012-01-31 14:55:45,161 WARN [imagemosaic.catalog] -   
> BBOXFilterExtractor::extractBasicProperties(): passed typename is   
> null, using: rrop08_mosaic
> 2012-01-31 14:55:46,137 WARN [imagemosaic.catalog] -   
> BBOXFilterExtractor::extractBasicProperties(): passed typename is   
> null, using: tk25
> 2012-01-31 14:55:46,635 WARN [imagemosaic.catalog] -   
> BBOXFilterExtractor::extractBasicProperties(): passed typename is   
> null, using: tk50
> 2012-01-31 14:55:59,509 WARN [servlet.BaseMapServlet] - Cannot   
> delete   
> file:/var/lib/tomcat6/work/Catalina/localhost/geoserver/wicket-filestore
>
>
> catalina.2012-01-31.log
>
> 31.01.2012 00:00:28 java.util.prefs.FileSystemPreferences   
> checkLockFile0ErrorCode
> WARNUNG: Could not lock User prefs.  Unix error code 2.
>
>
>
>
> ________________________________
>  Von: Robert Buckley <[email protected]>
> An: "[email protected]"   
> <[email protected]>
> Gesendet: 14:56 Dienstag, 31.Januar 2012
> Betreff: [Geoserver-users] Address already in use 8080 . problem   
> with external GWC
>
>
> Hi,
>
> yesterday I deployed GWC 1.2.6 in tomcat6 on ubuntu 10.04 along side  
>  geoserver 2.1.2. It was working ok, but I restarted tomcat6 today   
> and the system is now broken.
>
> Catalina.out is complaining....
>
> "couldn't flush user prefs java.util.prefs.backingstoreexception   
> couldn't get file lock." 
>
>
> Is this a conflict between geowebcache and geoserver? do they both   
> use 8080?..if so, can I just change the gwc port?
>
>
> thanks,
>
> Rob
>
>
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
>
>
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to